How To Install Java Artifact com.sun.mail.android-mail v1.6.0-rc2

com.sun.mail android-mail 1.6.0-rc2

Introduction

In this article, we'll learn how to install Java artifact android-mail from com.sun.mail group in version 1.6.0-rc2. The artifact is available in 12 versions: 1.6.7 1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0-rc2 1.6.0-rc1 1.6.0 1.5.6 1.5.5 The parent project is: com.sun.mail::android::1.6.0-rc2

How To Install Java Artifact com.sun.mail.android-mail In Version 1.6.0-rc2

To install the JavaMail API for Android artifact in version 1.6.0-rc2 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 for Android 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)