Commons Email

Commons-Email aims to provide a API for sending email. It is built on top of the Java Mail API, which it aims to simplify. All help is gratefully received.

Some of the mail classes that are provided are as follows:

  • SimpleEmail - This class is used to send basic text based emails.
  • MultiPartEmail - This class is used to send multipart messages. This allows a text message with attachments either inline or attached.
  • HtmlEmail - This class is used to send HTML formatted emails. It has all of the capabilities as MultiPartEmail allowing attachments to be easily added. It also supports embedded images.
  • EmailAttachment - This is a simple container class to allow for easy handling of attachments. It is for use with instances of MultiPartEmail and HtmlEmail.

Status

  • Version 1.0 has been released on 2005-09-27.

Releases

Commons Email 1.0

Commons Email 1.0 has been released on 2005-09-27.

Download Binaries and Source.

Bugs

Bugs may be reported via the Bugzilla Management system. The following links may prove useful:

Documentation

Development

Commons-Email may be used on any JRE from 1.3 onwards.

Please note that the tests may fail under JDK 1.3 due to the use of Dumbster which is compiled with JDK 1.4.

Also note that on OS X you may need to use Dumbster 1.5, not Dumbster 1.6 to run the unit tests. Just update the project.xml dependency element.