MVN

com.sun.mail : javax.mail

Maven & Gradle

Aug 29, 2018
1.1k usages
519 stars

JavaMail API

<dependency>
    <groupId>com.sun.mail</groupId>
    <artifactId>javax.mail</artifactId>
    <version>1.6.2</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.sun.mail : javax.mail to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.6.2
  • Latest Release Candidate: 1.6.0-rc2

All Versions

Choose a version of com.sun.mail : javax.mail to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.6.x
javax.mail-1.6.2
javax.mail-1.6.1
javax.mail-1.6.0
javax.mail-1.6.0-rc2
javax.mail-1.6.0-rc1
1.5.x
javax.mail-1.5.6
javax.mail-1.5.5
javax.mail-1.5.4
javax.mail-1.5.3
javax.mail-1.5.2
javax.mail-1.5.1
javax.mail-1.5.0
javax.mail-1.5.0-b02
javax.mail-1.5.0-b01
1.4.x
javax.mail-1.4.7
javax.mail-1.4.6
javax.mail-1.4.6-rc1
javax.mail-1.4.5
javax.mail-1.4.5-rc1
javax.mail-1.4.4
javax.mail-1.4.4-rc1

How to add a dependency to Maven

Add the following com.sun.mail : javax.mail maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

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

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.sun.mail : javax.mail gradle dependency to your build.gradle file:

implementation 'com.sun.mail:javax.mail:1.6.2'

Gradle Kotlin DSL: Add the following com.sun.mail : javax.mail gradle kotlin dependency to your build.gradle.kts file:

implementation("com.sun.mail:javax.mail:1.6.2")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.sun.mail : javax.mail sbt scala dependency to your build.sbt file:

libraryDependencies += "com.sun.mail" % "javax.mail" % "1.6.2"

Advertisement

Dependencies from Group

Aug 29, 2018
1.1k usages
519 stars
Apr 08, 2021
357 usages
217 stars
Apr 08, 2021
60 usages
217 stars
Apr 08, 2021
52 usages
161 stars
Apr 08, 2021
26 usages
161 stars

Discover Dependencies

Apr 07, 2023
67 usages
182 stars
Mar 17, 2009
10 usages
Jun 06, 2023
584 usages
168 stars
Jul 01, 2023
34 stars
Jul 07, 2023
147 usages
2.5k stars
Jul 27, 2023
139 usages
4.5k stars
Jul 30, 2023
6 usages
517 stars
Sep 20, 2005
500 usages
Apr 26, 2007
45 usages