The Java Mail API allows the developers to add mailing functionalities to their java applications. In this section we will introduce you with the Java Mail API.
The Java Mail API provides a platform-independent framework to develop mail and messaging applications in Java technology. Java Mail API is also protocol-independent making it more useful. You can use many different protocols to work with mails and messages.
Java mail api is designed to provide functionality such as read, compose and send from within your java programs.
The Java Mail API 1.4.1 supports JDK 1.4 or higher version. Current version of Java Mail API can be downloaded from the link given below:
Steps to install Java Mail
After installing Java Mail API, be sure that Java Beans Activation Framework is installed. Java Mail will work with JAF 1.0.2, but it is recommend to use of JAF 1.1 (currently the newest version).
Download the JAF 1.1 zip from the link given below:
Steps to install Java Beans Activation Framework
Note: JAF 1.1 is included in JDK 1.6 and JAF 1.1.1 will be included in a future JDK 1.6 update release.
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial