红联Linux门户
Linux帮助

Commons Email 1.3.2发布,Java邮件开发包

发布时间:2013-10-26 09:05:48来源:红联作者:empast
Commons Email 1.3.2 发布了,该项目是Apache的Commons子项目下的一个邮件客户端组件,它是基于JavaMail的,大大简化了邮件的收发操作。

该版本改进记录包括:

Change visibility of DataSourceUrlResourceResolver.createUrl(String) to protected so that sub-classes can override it. Fixes EMAIL-135.
Support default mime charset property "mail.mime.charset" when adding text content to instances of either SimpleEmail or HtmlEmail. Fixes EMAIL-104
Added support for sending partial emails in case of invalid addresses. Fixes EMAIL-132. Thanks to Allen Xudong Cheng.
The MimeMessageParser will now correctly parse MIME multi-parts of type "text/plain" and "text/html" with a content disposition header of "attachment". The parts will be added to the list of attachments even if there is no other text or html content. Fixes EMAIL-131.
Special characters in the body of an HTML email could lead to an exception when the mime message was built. Fixes EMAIL-127. Thanks to Dominik Stadler.

JavaDoc: http://commons.apache.org/email/apidocs/index.html

官方首页:http://commons.apache.org/proper/commons-email/

来自:开源中国社区
文章评论

共有 0 条评论