I've found Mail Integration in the Spring Docs, a mail channel example with XML configuration, a suggestion to use Jasypt to encrypt the userid/password in the XML config, and an XML-based config in the Spring Boot Samples repo, but I have not figured out how to securely configure and use an email channel in a Spring Boot web app that is using annotations.
I looked for ways to incorporate XML bean definitions, and how to convert XML to annotations, but came up empty.
How should I configure mail channels for sending and receiving email in a Spring Boot app?
Thanks!