javax.mail-api maven dependency

This page gives you a quick reference to get javax.mail-api dependency for Maven or Gradle projects. You can also download the javax.mail-api jar dependency, the link given at the "Download JAR File" section.

JavaMail API JAR.

JavaMail API JAR Maven Dependency

Copy below JavaMail API JAR maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/javax.mail/javax.mail-api -->
<dependency>
    <groupId>javax.mail</groupId>
    <artifactId>javax.mail-api</artifactId>
    <version>1.6.2</version>
</dependency>
For more details about the proper version to use, check out the following Maven Central link.

JavaMail API JAR Gradle Dependency

Copy below JavaMail API JAR gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/javax.mail/javax.mail-api
compile group: 'javax.mail', name: 'javax.mail-api', version: '1.6.2'

Download JAR File

Check for Latest Release

Reference



Comments