Changes Report

Release History

Version Date Description
1.2 2009-10-26
1.1 2007-09-27
1.0 2005-09-27
1.0-rc8 2005-09-07
1.0-rc6-SNAPSHOT in Subversion


Release 1.2 - 2009-10-26

Type Changes By
update Changing groupId from "commons-email" to "org.apache.commons" because the 1.1 release was already using "org.apache.commons" sgoeschl
fix 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. sgoeschl
fix Made BaseEmailTestCase abstract and fixed a few coding issues. Thanks to sebb. sgoeschl
fix 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()". Fixes EMAIL-87. Thanks to sebb. sgoeschl
add Email.setFrom and Email.addTo are using Email.charset to properly encode the name. Fixes EMAIL-75. Thanks to Yu Kobayashi. sgoeschl
add SimpleEmail#setMsg() with UTF-8 content honors correct charset in header and does encode the content correctly now. Fixes EMAIL-79. Thanks to Edvin Syse, Corey Scott. sgoeschl
add Created additional methods to support timeouts. Fixes EMAIL-84. Thanks to Claudio Miranda. sgoeschl
add Create an overridable method in Email.java to create the MimeMessage instance. Fixes EMAIL-74. Thanks to Jim McCabe, Corey Scott. sgoeschl
fix 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. Fixes EMAIL-71. Thanks to Teemu Lang, Corey Scott. sgoeschl
add Add getTo and getReplyTo to Email class. Fixes EMAIL-81. Thanks to Travis Reader, Corey Scott. sgoeschl
fix Provide better diagnostics when attaching documents fail. Fixes EMAIL-78. Thanks to Aaron Digulla, Corey Scott. sgoeschl
fix 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. Fixes EMAIL-70. Thanks to F. Andy Seidl. sgoeschl
fix 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 Fixes EMAIL-65. Thanks to Kenneth Gendron. sgoeschl
fix During regression tests write out the generated MimeMessage instead of WiserEmail.toString(). sgoeschl

Release 1.1 - 2007-09-27

Type Changes By
add Support embedding of raw DataSource attachments in HtmlEmail. Fixes EMAIL-35. Thanks to Brandon Wolfe. bspeakmon
update Use wiser instead of dumbster for test cases. Original patch supplied by Bindul Bhowmik. Fixes EMAIL-64. Thanks to Ben Speakmon. bspeakmon
fix Build patches to enforce source 1.4 and target 1.4 when compiling. Fixes EMAIL-62. Thanks to Ben Speakmon. dion
fix Identical Inline images should share same BodyPart. Fixed by EMAIL-50. Fixes EMAIL-52. Thanks to Andrew Liles. dion
fix Problems with HTML emails with attachments and embedded images. Fixed by EMAIL-50. Fixes EMAIL-28. Thanks to Phil Bretherton. dion
fix HTML Emails with images don't display in Outlook 2000. Fix from Ben Speakmon. Fixes EMAIL-50. Thanks to Andrew Liles. dion
fix Use JDK1.4 and java.nio.Charset instead of keeping our own. Fix from Ben Speakmon. Fixes EMAIL-54. Thanks to Piero Ottuzzi. dion
fix not support content charset gb2312. Fixed by EMAIL-54. Fixes EMAIL-14. Thanks to locka. dion
fix Address char-set can not be individually set. Fixed by EMAIL-54. Fixes EMAIL-25. Thanks to James Huang. dion
fix setCharset() in Email does not set the charset for the message content. Fix provided by Ben Speakmon. Fixes EMAIL-1. Thanks to James Mc Millan. dion
fix Enhance website scolebourne
add Added Email.setReplyTo(Collection) Fixes EMAIL-45. Thanks to Dave Cherkassky. dion
fix If you provide a mailSession in tomcat you cannot send email using commons-email: the problem is mainly caused by typos or missing constant declaration. Fixes EMAIL-37. Thanks to Piero Ottuzzi. dion
add Added TLS helper methods on Email and Added setMailSessionFromJNDI(String) helper method Fixes EMAIL-48. dion
fix Added HtmlEmail.embed(String,String) as a wrapper to embed(URL,String) Fixes EMAIL-7. Thanks to Nuno Ponte. dion

Release 1.0 - 2005-09-27

Type Changes By

Release 1.0-rc8 - 2005-09-07

Type Changes By
fix Make sure that the unit tests don't fail under JDK 1.3.x with java.net.BindException: Address already in use henning
update Replace our usage of address.validate() with simpler code that allows commons-email to work with javamail 1.2 / J2EE 1.3 environment. Added an unit test which verifies the behaviour. Fixes EMAIL-49. Thanks to Niall Pemberton. henning
update Add an unit test to check for invalid addresses. Fixes EMAIL-58. Thanks to Niall Pemberton. henning
update Remove dependencies to commons-lang, allowing commons-email to exist without any external dependencies in an J2EE 1.4+ environment. Fixes EMAIL-12. Thanks to Stephen Colebourne. henning

Release 1.0-rc6-SNAPSHOT - in Subversion

Type Changes By
update Improve MultiPartEmail to ease extending it. Fixes EMAIL-51. Thanks to Troy Poppe. epugh
update Refactoring the code to seperate creation of a MimeMessage and sending it. sgoeschl
update Add serialVersionUID to EmailException dion
update Use Dumbster 1.6 compiled with jdk13 for testing dion
fix Refactor Hashtable usage to Map Fixes EMAIL-24. Thanks to Eric Spiegelberg. dion
add Email throws EmailException wrapping underlying JavaMail exception Fixes EMAIL-42. Thanks to Mark Lowe. epugh
add Change port for dumbster from 25 to 2500 to use unreserved port. Fixes EMAIL-32. Thanks to Corey Scott. epugh
add Add back in ByteArrayDataSource. Fixes EMAIL-3. Thanks to Corey Scott. epugh
remove Removed deprecated MailMessage and ByteArrayDataSource. epugh
add Output test emails to /target/test-emails as .txt files for manual review. epugh
add Inline attatchment encoding was incorrect. Fixes EMAIL-19. Thanks to Mark Lowe. epugh
add Integrate our own checkstyle config instead of using Turbine style only. epugh
add Clone the System.getProperties() call instead of putting random properties into it. Fixes EMAIL-55. Thanks to Joe Germuska. epugh
add Can't supply a javax.mail.Session to Commons Email component Fixes EMAIL-8. epugh
add HTML email with plain text alternative and attachments Fixes EMAIL-23. Thanks to Corey Scott. epugh
add Integrate use of Dumbster to supply a fake SMTP server. Fixes EMAIL-33. Thanks to Corey Scott. epugh
add Lots of new unit tests and cleanup of code. Thanks to Corey Scott. epugh
update Update dependencies to latest available. epugh
add Support the delivery of bounced messages to an address other than "from". Fixes EMAIL-55. germuska