Jakarta Commons-Email 1.0 版本发布了。
Commons-Email 提供了一套更简洁的 操作 邮件的API.
Commons-Email 是 基于 JavaMail API 构建. 核心组建只包含很少的几个classes.
下面是一些其中的类的简单介绍:
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.