这是第一次官方发布 Commons Email, 之前代码已经通过 commons sandbox可以获得, 经过这么长的时间, 开发小组觉得产品应该已经成熟和稳定了.
Commons-Email 提供了一套更简洁的 操作 邮件的API.
下面是一些其中的类的简单介绍:
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.
更多详细信息:http://jakarta.apache.org/commons/email/
标签: