An example of sending email via SMTP over SSL using the JavaMail API.
A sample application showing how to send emails, including attachments, via SMTP over SSL in Java. This repo is related to a blog post on sending email in Java.
Compiled under jdk1.7.0_09.