Download and Install javamail-samples.zip

Q

How to download and install javamail-samples.zip? What JavaMail API version can these samples apply?

✍: FYIcenter.com

A

The JavaMail API is a set of abstract APIs that model a mail system. You can follow these steps to download and install javamail-samples.zip. It contains sample programs demonstrating use of the JavaMail API.

1. Go to the JavaMail API Website.

2. Click "Downloads" in the left menu. Look at the JavaMail API version number on the download page. It should say "JavaMail API 1.5.4" as of 2015.

3. Click "JavaMail API samples" to start download.

4. Save the downloaded file as \local\javamail-1.5.4\javamail-samples.zip.

5. Unzip all files from javamail-samples.zip. All sample programs are stored in \local\javamail-1.5.4\javamail-samples folder.

6. Rename javamail-samples.zip to javax.mail-1.5.4-samples.zip to avoid confusion with future versions.

Installation is done.

 

folderlist Sample Program with JavaMail 1.5.4

Download and Install javax.mail-1.5.4-javadoc.jar

Download and Install JavaMail Library

⇑⇑ FAQ for JavaMail

2016-01-08, 2124👍, 0💬