Welcome to the JavaMail API project!
This project hosts the downloads and source code for the JavaMail API
The JavaMail reference implementation is licensed under the
Common Development and Distribution License (CDDL) v1.1 and GNU General Public License (GPL) v2 with Classpath Exception.
This web site is still under construction after moving here from
http://javamail.kenai.com and in preparation for the JavaMail 1.5
release. Please bear with us if some links aren't working yet.
The following table provides easy access to the latest release. Most people will only need the main JavaMail reference implementation in the javax.mail.jar file.
|javax.mail.jar||The JavaMail reference implementation, including the SMTP, IMAP, and POP3 protocol providers|
|README.txt||Overview of the release|
|NOTES.txt||Additional notes about using JavaMail|
|SSLNOTES.txt||Notes on using SSL/TLS with JavaMail|
|NTLMNOTES.txt||Notes on using NTLM authentication with JavaMail|
|CHANGES.txt||Changes since the previous release|
|COMPAT.txt||Important notes about compatibility|
|javax.mail.jar||com.sun.mail||javax.mail||The JavaMail reference implementation jar file, including the SMTP, IMAP, and POP3 protocol providers|
|javax.mail-api.jar||javax.mail||javax.mail-api||The JavaMail API definitions only, suitable for compiling against|
|mailapi.jar||com.sun.mail||mailapi||The JavaMail reference implementation with no protocol providers; use with one of the following providers|
|smtp.jar||com.sun.mail||smtp||The SMTP protocol provider|
|imap.jar||com.sun.mail||imap||The IMAP protocol provider|
|pop3.jar||com.sun.mail||pop3||The POP3 protocol provider|
|gimap.jar||com.sun.mail||gimap||An EXPERIMENTAL Gmail IMAP protocol provider that supports Gmail-specific features|
|dsn.jar||com.sun.mail||dsn||Support for parsing and creating messages containing Delivery Status Notifications|
The JavaMail API is defined through the Java Community Process as JSR 919.
The following documents summarize the API changes in each release of the JavaMail API specification:
Some sample programs showing how to use the JavaMail APIs are available
Please read the JavaMail FAQ! Read it again. Tell everyone you know to read it. Thank you!
You can search for and post questions to the
JavaMail forums here on java.net,
and the JavaMail OTN forum.
You can also join this project and subscribe to the
"users" mailing list.
Or, send mail directly to the JavaMail team at
JavaMail bugs are still tracked in the
kenai.com JavaMail project issue tracker.
We hope to migrate to the issue tracker here on java.net soon.
You'll find more information about the protocol providers supported by JavaMail on the following pages:
If you're interested in writing your own protocol provider (most people won't need to), you can find more documentation on protocol providers [here].
The following pages provide hints and tips for using particular mail servers:
The following pages provide hints and tips for using JavaMail on particular operating systems or environments:
See Build Instructions for instructions on how to download and build the most recent JavaMail source code. You can also find a bundle of the source code for the most recent JavaMail release in the Downloads area of this project.
If you're interested in contributing to JavaMail, see the Contributions page.
To understand the JavaMail license, see the License page.