How To Install Java Artifact com.sun.mail.jakarta.mail v2.0.0-RC5

com.sun.mail jakarta.mail 2.0.0-RC5

Introduction

In this article, we'll learn how to install Java artifact jakarta.mail from com.sun.mail group in version 2.0.0-RC5. The artifact is available in 13 versions: 2.0.1 2.0.0-RC6 2.0.0-RC5 2.0.0-RC4 2.0.0-RC3 2.0.0-RC2 2.0.0-RC1 2.0.0 1.6.7 1.6.6 1.6.5 1.6.4 1.6.3 The parent project is: com.sun.mail::all::2.0.0-RC5

How To Install Java Artifact com.sun.mail.jakarta.mail In Version 2.0.0-RC5

To install the Jakarta Mail API artifact in version 2.0.0-RC5 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses Jakarta Mail API dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.

Compile dependencies (1)

Test dependencies (1)