13.2. Installing the JavaMail API

The JavaMail API is not part of the standard Java API, and must be installed before it can be used. The JavaMail API is a Java extension; it is approved by Sun Microsystems but not part of the core Java API provided by Java Virtual Machine implementers. Before you can use JavaMail, you must install it, along with the JavaBeans Activation Framework (JAF), which is a package required by JavaMail to determine the datatype of mail messages (for example, to determine the MIME type of a message body or attachment). When applications are deployed to third parties, the latter will also require installation of JavaMail and JAF.

NOTE

The code and instructions in this chapter apply to JavaMail 1.1.3. Readers who prefer to ...

Get Java™ Network Programming and Distributed Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.