How To Install Java Artifact com.sun.mail.smtp v1.5.0

com.sun.mail smtp 1.5.0

Introduction

In this article, we'll learn how to install Java artifact smtp from com.sun.mail group in version 1.5.0. The artifact is available in 37 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 1.6.2 1.6.1 1.6.0-rc2 1.6.0-rc1 1.6.0 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0-b02 1.5.0-b01 1.5.0 1.4.7 1.4.6-rc1 1.4.6 1.4.5-rc1 1.4.5 1.4.4-rc1 1.4.4 1.4.3-rc1 1.4.3 1.4.2 The parent project is: com.sun.mail::parent-distrib::1.5.0

How To Install Java Artifact com.sun.mail.smtp In Version 1.5.0

To install the JavaMail API smtp provider artifact in version 1.5.0 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 smtp provider 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.