How do I install the JavaMail API implementation?
Unzip the distribution zip file and edit your CLASSPATH environment variable to include the mail.jar file that was included with the JavaMail API distribution. You will also need an implementation of the JavaBeans Activation Framework (see below) unless you’re using JDK 1.6 or newer (which includes JAF). See the README.txt file (also included in the download package) for additional details and examples, as well as the following FAQ entry.