commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Goeschl <siegfried.goes...@it20one.at>
Subject [ANNOUNCEMENT] Apache Commons Email 1.2 Released
Date Fri, 06 Nov 2009 19:43:57 GMT
The commons-email-team is pleased to announce the commons-email-1.2.jar
release!

Commons-Email aims to provide an API for sending email. It is built on
top of
the JavaMail API, which it aims to simplify.

Changes in this version include:

New features:
o Email.setFrom and Email.addTo are using Email.charset to properly
encode the name.  Issue: EMAIL-75. Thanks to Yu Kobayashi.
o SimpleEmail#setMsg() with UTF-8 content honors correct charset in
header and
does encode the content correctly now.  Issue: EMAIL-79. Thanks to Edvin
Syse, Corey Scott.
o Created additional methods to support timeouts.  Issue: EMAIL-84.
Thanks to Claudio Miranda.
o Create an overridable method in Email.java to create the MimeMessage
instance.  Issue: EMAIL-74. Thanks to Jim McCabe, Corey Scott.
o Add getTo and getReplyTo to Email class.  Issue: EMAIL-81. Thanks to
Travis Reader, Corey Scott.

Fixed Bugs:
o Using "http://example.invalid" for a bad url - ".invalid" is reserved
and not intended to be installed as a top-level domain in the global
Domain Name System (DNS) of the Internet. Thanks to sebb.
o Made BaseEmailTestCase abstract and fixed a few coding issues. Thanks
to sebb.
o HtmlEmail invokes java.net.URL.equals(Object), which blocks to do
domain name resolution. This
is avoided by using "url.toExternalForm().equals()" instead of
"url.equals()".  Issue: EMAIL-87. Thanks to sebb.
o If setHostName() has not been called, getHostName() tries to return
this.session.getProperty(MAIL_HOST). If mail session has not been
created yet, this will throw a NullPointerException. Now getHostName()
checks that this.session is not null before trying to access it.  Issue:
EMAIL-71. Thanks to Teemu Lang, Corey Scott.
o Provide better diagnostics when attaching  documents fail.  Issue:
EMAIL-78. Thanks to Aaron Digulla, Corey Scott.
o When mail authentication is required and no username/password is supplied
than the provided mail session is used. If a username/password is found
the implementation creates a new mail session and a DefaultAuthenticator
as convinence implementation.  Issue: EMAIL-70. Thanks to F. Andy Seidl.
o Using Kenneth's implementation of HtmlEmail.buildMimeMessage() to fix a
couple of HtmlEmail layout issues. Also thanks to Martin Lau and Morten
Hattesen for providing in-depth analysis of the problem  Issue:
EMAIL-65. Thanks to Kenneth Gendron.
o During regression tests write out the generated MimeMessage instead of
WiserEmail.toString().

Changes:
o Changing groupId from "commons-email" to "org.apache.commons"
because the 1.1 release was already using "org.apache.commons"


Have fun!
-commons-email-team

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message