The JavaMail API provides a platform-independent and protocol-independent framework to build mail and messaging applications. The JavaMail API is available as an optional package for use with the Java SE platform and is also included in the Java EE platform.
JavaMail API 1.5.1 Release The JavaMail 1.5.1 release contains 16 bug fixes and enhancements. Note: Unless you're using Java SE 6 or newer, you will also need the JavaBeans Activation Framework (JAF) extension that provides the javax.activation package. We suggest you use version 1.1.1 of JAF, the latest release. JAF is included with Java SE 6 and newer.