How To Install Java Artifact javax.mail.mailapi v1.4.3

javax.mail mailapi 1.4.3

Introduction

In this article, we'll learn how to install Java artifact mailapi from javax.mail group in version 1.4.3. The artifact is available in 3 versions: 1.4.3-rc1 1.4.3 1.4.2 The parent project is: com.sun.mail::all::1.4.3

How To Install Java Artifact javax.mail.mailapi In Version 1.4.3

To install the JavaMail API jar artifact in version 1.4.3 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 JavaMail API jar 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.