Commons Email 1.4 发布,Java 邮件工具包 - 开源中国社区
Commons Email 1.4 发布,Java 邮件工具包
红薯 2015年05月27日

Commons Email 1.4 发布,Java 邮件工具包

红薯 红薯 发布于2015年05月27日 收藏 55 评论 5

有免费的MySQL,为什么还要买? >>>  

Commons Email 1.4 发布了,该项目是Apache的Commons子项目下的一个邮件客户端组件,它是基于JavaMail的,大大简化了邮件的收发操作。

与 1.3.3 版本比较主要改进包括如下几个方面:

== Compatibility ==

* Java 5 or later is required (unchanged since 1.3).

* JavaMail dependency has been upgraded to version 1.5.2,
  as a consequence, the maven dependency has changed to:

  <dependency>
    <groupId>com.sun.mail</groupId>
    <artifactId>javax.mail</artifactId>
    <version>1.5.2</version>
  </dependency>

== New Features ==

* Added getter for the bounce address of an email to class Email.
  Issue: EMAIL-146. Thanks to Alexander Lehmann.

* Added support for mapping of content-ids to DataSource in "MimeMessageParser".
  Issue: EMAIL-141. Thanks to Stephen Kruger.

== Updates ==

* Update Oracle JavaMail dependency from 1.4.5 to 1.5.2.
  Issue: EMAIL-144.

== Fixed Bugs ==

* "Email" threw an "EmailException" when trying to send the email if neither a from
  nor bounce address was specified, although a "mail.from" property was set in the mail session.
  Issue: EMAIL-149. Thanks to Richard DiCroce.

* "ImageHtmlEmail" failed to embed attachments if their data source name was null.
  Issue: EMAIL-151. Thanks to Andreas Kohn.

* Html emails did not have the correct content-type set when using the Apache Geronimo
  JavaMail implementation v1.8.x.
  Issue: EMAIL-147. Thanks to Can Eskikaya.

* An "HtmlEmail" with both, an html and plain text content but no attachments or embedded
  images will now be created with mimetype "multipart/alternative" instead of "multipart/mixed".
  Issue: EMAIL-142. Thanks to Marcin Tomiak.

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Commons Email 1.4 发布,Java 邮件工具包
分享
评论(5)
最新评论
0
嗯,曾经有个项目中用到这个,发送邮件的确比JavaMail简单。
0
下载地址也不能使用了。。。
0
发送邮件确实简化不少!
0
无视上面的回复吧,详细介绍里有例子...
0
怎么个简化法,OC给个例子呗,否则还要跳到官网去看。
顶部