Sending an email Programmatically using Java

This post includes a function you can use for sending emails from your Java application. One thing to note is the javax.mail libraries are not included in the Java JDK, so you will have to download them separately. The java mail library can be downloaded from the following location: Once you have downloaded the java mail library, you will need to add the mail.jar Read more [...]