Example to send an e-mail from your Java application (with or without TLS authentication)
In this post I just wanted to share a small example to send an e-mail from your Java application, using TLS authentication. You’ll need to include the javax.mail.jar library from JavaMail in your project as a dependency… I think all steps are pretty much self-explaining, like how to set the host, username and password,… Continue reading “Example to send an e-mail from your Java application (with or without TLS authentication)”