Commons Email.
Commons-Email aims to provide an API for sending email. It is built on top of the JavaMail API, which it aims to simplify..
Here is the list of declaration for commons-email. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-email</artifactId> <version>1.3</version> </dependency>
If you think this Maven repository POM file listing for commons-email is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Apache License.
The commons-email-1.3 has 8 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
MIME | activation 1.1.1 The JavaBeans(TM) Activation Framework is used by the JavaMail(TM) API to manage MIME data | 89 |
JUnit | junit 4.11 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 2031 |
File | commons-io 2.2 The Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more. | 60 |
Development | subethasmtp 3.1.7 SubEtha SMTP is an easy-to-use server-side SMTP library for Java. | 5 |
JUnit | powermock-module-junit4 1.4.12 PowerMock support module for JUnit 4.x. | 12 |
Testing Mock | powermock-api-easymock 1.4.12 PowerMock API for EasyMock. | 5 |
Testing Mock | easymock 3.1 EasyMock provides an easy way to create Mock Objects for interfaces and classes generating them on the fly | 230 |
The following plugins are used in the commons-email-1.3.jar
The following packages are defined in the commons-email-1.3.jar
org.apache.commons.mail org.apache.commons.mail.resolver org.apache.commons.mail.util
Here is the content of the POM file.
<?xml version="1.0"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-parent</artifactId> <version>27</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.commons</groupId> <artifactId>commons-email</artifactId> <version>1.3</version> <name>Commons Email</name> <inceptionYear>2001</inceptionYear> <description> Commons-Email aims to provide an API for sending email. It is built on top of the JavaMail API, which it aims to simplify. </description> <url>http://commons.apache.org/email/</url> <issueManagement> <system>jira</system> <url>http://issues.apache.org/jira/browse/EMAIL</url> </issueManagement> <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/email/trunk</connection> <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/email/trunk</developerConnection> <url>http://svn.apache.org/viewvc/commons/proper/email/trunk</url> </scm> <contributors> <contributor> <name>Mark Lowe</name> <email>mark.lowe@boxstuff.com</email> <roles /> </contributor> <contributor> <name>Niall Pemberton</name> <roles /> </contributor> <contributor> <name>Corey Scott</name> <email>corey.scott@gmail.com</email> <roles /> </contributor> <contributor> <name>Eric Spiegelberg</name> <email>eric@spiegs.com</email> <roles /> </contributor> <contributor> <name>Matthias Wessendorf</name> <email>matthias@wessendorf.net</email> <roles /> </contributor> <contributor> <name>Bindul Bhowmik</name> </contributor> <contributor> <name>Brandon Wolfe</name> </contributor> <contributor> <name>Piero Ottuzzi</name> </contributor> <contributor> <name>Andrew Liles</name> </contributor> <contributor> <name>Cedrik Lime</name> </contributor> <contributor> <name>Dominik Stadler</name> </contributor> </contributors> <dependencies> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.4.5</version> </dependency> <dependency> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> <version>1.1.1</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <!-- IO 2.2 is the last version compatible with 1.5; IO 2.4 needs Java 1.6 --> <version>2.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.subethamail</groupId> <artifactId>subethasmtp</artifactId> <version>3.1.7</version> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> <version>1.4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-easymock</artifactId> <version>1.4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> <version>3.1</version> <scope>test</scope> </dependency> </dependencies> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.compile.source>1.5</maven.compile.source> <maven.compile.target>1.5</maven.compile.target> <commons.componentid>email</commons.componentid> <commons.jira.id>EMAIL</commons.jira.id> <commons.jira.pid>12310474</commons.jira.pid> <commons.release.version>1.3</commons.release.version> <commons.rc.version>RC7</commons.rc.version> <commons.binary.suffix>-bin</commons.binary.suffix> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!-- exclude test case support classes --> <excludes> <exclude>org/apache/commons/mail/BaseEmailTestCase.java</exclude> <exclude>org/apache/commons/mail/mocks/*</exclude> <exclude>org/apache/commons/mail/settings/*</exclude> </excludes> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>src/assembly/bin.xml</descriptor> <descriptor>src/assembly/src.xml</descriptor> </descriptors> <tarLongFileMode>gnu</tarLongFileMode> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <configuration> <mavenExecutorId>forked-path</mavenExecutorId> </configuration> </plugin> </plugins> </build> <distributionManagement> <site> <id>apache.website</id> <name>Apache Website</name> <url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/email/</url> </site> </distributionManagement> <reporting> <plugins> <!-- generate the changes report from changes.xml --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>2.6</version> <configuration> <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate> </configuration> <reportSets> <reportSet> <reports> <report>changes-report</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.7</version> <configuration> <configLocation>${basedir}/conf/checkstyle.xml</configLocation> <enableRulesSummary>false</enableRulesSummary> <headerFile>${basedir}/conf/HEADER.txt</headerFile> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>2.7.1</version> <configuration> <targetJdk>${maven.compile.target}</targetJdk> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.2</version> <configuration> <threshold>Normal</threshold> <effort>Default</effort> <excludeFilterFile>${basedir}/conf/findbugs-exclude-filter.xml</excludeFilterFile> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> <configuration> <comparisonVersion>1.2</comparisonVersion> </configuration> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <configuration> <excludes> <exclude>src/test/resources/eml/*.eml</exclude> </excludes> </configuration> </plugin> </plugins> </reporting> <profiles> <profile> <id>rc</id> <distributionManagement> <!-- Cannot define in parent ATM, see COMMONSSITE-26 --> <site> <id>apache.website</id> <name>Apache Commons Release Candidate Staging Site</name> <url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/commons/${commons.componentid}/${commons.release.version}/${commons.rc.version}/site</url> </site> </distributionManagement> </profile> </profiles> </project>