Movatterモバイル変換


[0]ホーム

URL:


JavaMail

JavaMail Reference Implementation

The JavaMail API provides a platform-independent andprotocol-independent framework to build mail and messagingapplications.The JavaMail API is available as an optional package for use with theJava SE platformand is also included in theJava EE platform.

Table of Contents

Latest News

August 29, 2018 - JavaMail 1.6.2 Final Release

The 1.6.2 release contains bug fixes and enhancements,including the following significant changes:

  • Support loading protocol providers using ServiceLoader
  • http proxy support should support authenticating to the proxy server

Note that the JavaMail project will be moving to the Eclipse Foundationas part of theEclipse Enterprise for Javaproject over the next several weeks.Future releases will be done as part of the Eclipse project for JavaMail.

April 28, 2017 - JavaMail moves to GitHub!

Welcome to the new home of the JavaMail API project on GitHub!This project hosts the downloads and source code for the JavaMail APIreference implementation. The JavaMail reference implementation islicensed under theCommon Development and Distribution License (CDDL) v1.1 and GNU General PublicLicense (GPL) v2 with Classpath Exception.

By contributing to this project, you agree to these additional terms ofuse, described inCONTRIBUTING.

Download JavaMail Release

The latest release of JavaMail is 1.6.2.

The following table provides easy access to the latest release. Mostpeople will only need the main JavaMail reference implementation in thejavax.mail.jar file.

ItemDescription
javax.mail.jarThe JavaMail reference implementation, including the SMTP, IMAP, and POP3 protocol providers
README.txtOverview of the release
NOTES.txtAdditional notes about using JavaMail
SSLNOTES.txtNotes on using SSL/TLS with JavaMail
NTLMNOTES.txtNotes on using NTLM authentication with JavaMail
CHANGES.txtChanges since the previous release
COMPAT.txtImportant notes about compatibility

In addition, the JavaMail jar files are published to the Maven repository.The main JavaMail jar file, which is all most applications will need,can be included using this Maven dependency:

        <dependencies>            <dependency>                <groupId>com.sun.mail</groupId>                <artifactId>javax.mail</artifactId>                <version>1.6.2</version>            </dependency>        </dependencies>

You can find all of the JavaMail jar files in both thejava.net Maven repository, and inMaven Central.

jar filegroupIdartifactIdDescription
javax.mail.jarcom.sun.mailjavax.mailThe JavaMail reference implementation jar file, including the SMTP, IMAP, and POP3 protocol providers
javax.mail-api.jarjavax.mailjavax.mail-apiThe JavaMail API definitions only, suitable for compiling against; use only with a Maven “provided” dependency scope
mailapi.jarcom.sun.mailmailapiThe JavaMail reference implementation with no protocol providers; use with one of the following providers
smtp.jarcom.sun.mailsmtpThe SMTP protocol provider
imap.jarcom.sun.mailimapThe IMAP protocol provider
pop3.jarcom.sun.mailpop3The POP3 protocol provider
gimap.jarcom.sun.mailgimapAn EXPERIMENTAL Gmail IMAP protocol provider that supports Gmail-specific features
dsn.jarcom.sun.maildsnSupport for parsing and creating messages containing Delivery Status Notifications
logging-mailhandler.jarcom.sun.maillogging-mailhandlerA java.util.logging handler that uses JavaMail, suitable for use in Google App Engine.

API Documentation

The JavaMail API is defined through the Java Community Process asJSR 919.

The JavaMail API documentation is availablehere and theJavaMail specification is availablehere.

The following documents summarize the API changes in each release ofthe JavaMail API specification:

Samples

Some sample programs showing how to use the JavaMail APIs are availablehere.

Help

Please read theJavaMail FAQ!Read it again. Tell everyone you know to read it. Thank you!

You can search for and post questions to theJavaMail OTN forum.You can also subscribe to themailing list.

Or, post a question onStack Overflow using thejavamail tag.

Finally, you can send mail directly to the JavaMail team atjavamail_ww@oracle.com.

Bugs

JavaMail bugs are tracked in theGitHub JavaMail project issue tracker.

Development Releases

From time to time snapshot releases of the next version of JavaMailunder development are published to thejava.net Maven repository.These snapshot releases have received only minimal testing, but mayprovide previews of bug fixes or new features under development.

For example, you can download the javax.mail.jar file from the JavaMail1.6.3-SNAPSHOT releasehere.Be sure to scroll to the bottom and choose the jar file with the mostrecent time stamp.

JavaMail for Android

The latest release includes support for JavaMail on Android.See theAndroid page for details.

Project Documentation

You’ll find more information about the protocol providers supported byJavaMail on the following pages:

If you’re interested in writing your own protocol provider (most peoplewon’t need to), you can find more documentation on protocol providershere.

The use ofOAuth2 authenticationwith JavaMail is describedhere.

The following pages provide hints and tips for using particular mail servers:

The following pages provide hints and tips for using JavaMail onparticular operating systems or environments:

SeeBuild Instructions for instructions on how todownload and build the most recent JavaMail source code. You can alsofind a bundle of the source code for the most recent JavaMail releasein theReleases area ofthis project.

If you’re interested in contributing to JavaMail, see theContributions page.

You can find a list of products related to JavaMail on theThird Party Products page.

Please see our page oflinks to additional information about JavaMail and Internet emailand our list ofbooks about JavaMail and Internet email.

To understand the JavaMail license, see theLicense page.


Sources

APIs

FAQ

Download

Issue Tracker

Mailing List

Contribute

License


Sponsored by

© Oracle | By contributing to this project, you are agreeing to the terms of use describedhere.
This project is now part of theEE4J initiative; its activity is temporarily paused until it has been effectively transferred to the Eclipse Foundation.
Seehere for the EE4J transition status.

[8]ページ先頭

©2009-2025 Movatter.jp