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 Updated
  • javax.mail-1.6.2

    Aug 29, 2018
  • javax.mail-1.6.1

    Feb 09, 2018
  • javax.mail-1.6.0

    Jul 17, 2017
  • javax.mail-1.6.0-rc2

    May 25, 2017
  • javax.mail-1.6.0-rc1

    Mar 22, 2017
  • javax.mail-1.5.6

    Aug 10, 2016
  • javax.mail-1.5.5

    Dec 16, 2015
  • javax.mail-1.5.4

    Jun 22, 2015
  • javax.mail-1.5.3

    Apr 15, 2015
  • javax.mail-1.5.2

    May 02, 2014
  • javax.mail-1.5.1

    Nov 13, 2013
  • javax.mail-1.5.0

    Apr 05, 2013
  • javax.mail-1.5.0-b02

    Mar 25, 2013
  • javax.mail-1.4.7

    Mar 09, 2013
  • javax.mail-1.5.0-b01

    Mar 05, 2013
  • javax.mail-1.4.6

    Feb 07, 2013
  • javax.mail-1.4.6-rc1

    Nov 20, 2012
  • javax.mail-1.4.5

    Mar 23, 2012
  • javax.mail-1.4.5-rc1

    Feb 08, 2012
  • javax.mail-1.4.4

    Jan 27, 2011
  • javax.mail-1.4.4-rc1

    Dec 10, 2010

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
161 stars
Apr 08, 2021
60 usages
161 stars
Apr 08, 2021
52 usages
161 stars
Apr 08, 2021
26 usages
161 stars

Discover Dependencies

May 31, 2022
67 usages
Mar 17, 2009
10 usages
Sep 14, 2022
584 usages
132 stars
Jul 13, 2022
36 stars
Sep 15, 2022
147 usages
2.3k stars
Sep 06, 2022
6 usages
245 stars
Sep 20, 2005
500 usages
Apr 26, 2007
45 usages
image

Maven Repository

Search Maven dependencies with Maven Repository Chrome Extension

Add to Chrome