This tutorial covers sending email from a Java EE application using the JavaMail API. The JavaMail API defines classes which represent the components of a mail system. JavaMail does not implement an email server, instead it allows you to access an email server using a Java API. In order to test the code presented in this tutorial you must have access to an email server. While the JavaMail API specification does not mandate support for specific protocols, JavaMail typically includes support for POP3, IMAP, and SMTP. This tutorial covers sending mail messages and only requires access to an SMTP server.
You might also like Using Java EE Environmental Variables.
Release Date: 11-Jun-12
Duration: 45 minutes
Credited To: Matt Heimer
No Flash Plugin Needed