Apache Commons Email Maven Dependency

This page gives you a quick reference to get Apache Commons Email dependency for Maven or Gradle projects. You can also download the Apache Commons Email jar dependency, the link given at the "Download JAR File" section.

Apache Commons Email aims to provide an API for sending an email. It is built on top of the JavaMail API, which it aims to simplify.

Apache Commons Email Maven Dependency

Copy below Apache Commons Email maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-email -->
<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-email</artifactId>
    <version>1.5</version>
</dependency>
For more details about the proper version to use, check out the following Maven Central link.

Apache Commons Email Gradle Dependency

Copy below Apache Commons Email gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/org.apache.commons/commons-email
compile group: 'org.apache.commons', name: 'commons-email', version: '1.5'

Download JAR File

Check for Latest Release

Reference



Comments