发布于 2015-05-27 00:57:18 | 119 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Apache Commons

Apache Commons项目的由三部分组成:The Commons Proper - 一个可重用的Java组件库。The Commons Sandbox - Java组件开发工作区. The Commons Dormant - 当前处于非活动状态的组件库.


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.

Apache Commons项目的由三部分组成:The Commons Proper - 一个可重用的Java组件库。The Commons Sandbox - Java组件开发工作区. The Commons Dormant - 当前处于非活动状态的组件库.



历史版本 :
Apache Commons DBCP 2.2.0 发布
Apache Commons Pool 2.5.0 带来新特性和变更
Apache Commons Text 1.2,处理字符串的算法库
Apache Commons Lang 3.7 发布,Java 常用工具包
Apache Commons Compress 1.15 发布
Apache Commons VFS 2.2 发布,文件系统统一接口
Apache Commons JCS 2.2 发布,分布式缓存
Apache Commons CLI 1.4,Java 命令行参数处理类库
Apache Commons JCS 2.0 发布,分布式缓存
Apache Commons Compress 1.13 发布
Apache Commons Lang 3.5 发布
Apache Commons Weaver 1.3 发布
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务