JavaMail provides functionality for sending and receiving email. Service providers plug in to the JavaMail API providing implementations of various email protocols. The Sun implementation includes service providers for IMAP, POP3 and SMTP. JavaMail is also a part of enterprise Java in J2EE.
You can download the Java Mail extension from: http://java.sun.com/products/javamail/downloads/index.html
To use the JavaMail API, you must also download and install the JavaBeans Activation Framework extension (JAF). JAF can be downloaded from: http://java.sun.com/products/javabeans/jaf/downloads/index.html
In addition to the phrases covered in this chapter, you can find complete details on using the JavaMail API at the JavaMail ...