Apache Commons logo Commons Email


Commons Email uses Maven 2.0

Maven Goals

To build a jar file, change into Email's root directory and run "mvn package". The result will be in the "target" subdirectory.

To build the Javadocs, run "mvn javadoc:javadoc". The result will be in "target/docs/apidocs".

To build the full website, run "mvn site". The result will be in "target/site". You must be using JDK 5 or higher to successfully complete this target.


Commons Email may be used on any JRE from 1.5 onwards.

Commons Email requires SubEtha SMTP for its unit tests.

This jar will be automatically installed to your local Maven 2 repository if you build using Maven.