You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by sg...@apache.org on 2009/06/11 23:15:06 UTC

svn commit: r783911 - in /commons/proper/email/trunk: RELEASE-NOTES.txt STATUS.html src/changes/changes.xml src/site/site.xml xdocs/index.xml xdocs/navigation.xml

Author: sgoeschl
Date: Thu Jun 11 21:15:05 2009
New Revision: 783911

URL: http://svn.apache.org/viewvc?rev=783911&view=rev
Log:
Preparing the next release

Modified:
    commons/proper/email/trunk/RELEASE-NOTES.txt
    commons/proper/email/trunk/STATUS.html
    commons/proper/email/trunk/src/changes/changes.xml
    commons/proper/email/trunk/src/site/site.xml
    commons/proper/email/trunk/xdocs/index.xml
    commons/proper/email/trunk/xdocs/navigation.xml

Modified: commons/proper/email/trunk/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/RELEASE-NOTES.txt?rev=783911&r1=783910&r2=783911&view=diff
==============================================================================
--- commons/proper/email/trunk/RELEASE-NOTES.txt (original)
+++ commons/proper/email/trunk/RELEASE-NOTES.txt Thu Jun 11 21:15:05 2009
@@ -1,7 +1,5 @@
-$Id: RELEASE-NOTES.txt 216015 2005-07-12 20:41:48Z rdonkin $
-
                          Commons Email Package
-                              Version 1.1
+                              Version 1.2
                              Release Notes
 
 INTRODUCTION:
@@ -17,11 +15,11 @@
 
 http://commons.apache.org/email/
 
-This is a maintenance release which fixes several bugs present in the 1.0
+This is a maintenance release which fixes several bugs present in the 1.1
 release and adds a number of small enhancements requested by
 users. All current users are encouraged to upgrade.
 
-CHANGES FROM 1.0:
+CHANGES FROM 1.1:
 -----------------
 
 == Compatibility ==
@@ -32,38 +30,51 @@
 * JavaMail 1.4 or later and JavaBeans Activation Framework 1.1 or later are now
   required.
 
-* The protected field org.apache.commons.mail.HtmlEmail.inlineImages
-  is now deprecated. Its function is now performed by the
-  org.apache.commons.mail.HtmlEmail.inlineEmbeds field; the new field
-  is a Map instead of a List. The change was made as part of EMAIL-50.
-  Clients that have subclassed HtmlEmail should change their
-  implementations accordingly.
-
-== Notable bugfixes ==
-
-* EMAIL-50: HtmlEmails were not being constructed correctly; several
-  email clients were not displaying attachments or embedded images
-  properly. As part of the same problem, duplicate embeds were not
-  being handled correctly.
-
-* EMAIL-1: Email.setContent() was not taking a specified charset into
-  account. Additional setContent() overloadings were also added to
-  address common use cases.
-
-== Notable enhancements ==
-
-* EMAIL-35: HtmlEmail now supports the embedding of any DataSource
-  implementation. Specific methods were added for File and URL
-  objects, removing the need for clumsy circumlocution.
-
-* Character set handling and encoding has been overhauled to use the
-  JDK 1.4 character set support. All charsets supported by the Java VM
-  are now recognized and handled appropriately in Email.setCharset()
-  and Email.setContent() calls.
+== New Features ==
+
+* Email.setFrom and Email.addTo are using Email.charset to properly encode 
+  the name.
+  
+* SimpleEmail#setMsg() with UTF-8 content honors correct charset in header 
+  and
+does encode the content correctly now.
+  
+* Created additional methods to support timeouts.
+
+* Create an overridable method in Email.java to create the MimeMessage instance.
+
+* Add getTo and getReplyTo to Email class. 
+
+== Fixed Bugs ==
+
+* 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. 
+
+* Provide better diagnostics when attaching  documents fail. 
+
+* 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. 
+
+* 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. 
+
+* During regression tests write out the generated MimeMessage instead of
 
-* HtmlEmail performance has been slightly improved.
+  WiserEmail.toString(). 
 
-* The MIME structure of MultiPartEmail and HtmlEmail has been improved.
 
 REQUIREMENTS:
 

Modified: commons/proper/email/trunk/STATUS.html
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/STATUS.html?rev=783911&r1=783910&r2=783911&view=diff
==============================================================================
--- commons/proper/email/trunk/STATUS.html (original)
+++ commons/proper/email/trunk/STATUS.html Thu Jun 11 21:15:05 2009
@@ -64,11 +64,11 @@
 <a name="Release Info"></a>
 <h3>3.  RELEASE INFO</h3>
 
-<p>Current Release: 1.1</p>
+<p>Current Release: 1.2</p>
 
 <p>Planned Next Release: No release plan is currently active for this
-  component. The 1.1 release was designed to apply fixes for
-  longstanding problems dating back to the 1.0 release. Some
+  component. The 1.2 release was designed to apply fixes for
+  longstanding problems dating back to the 1.1 release. Some
   incomplete code has been contributed for possible use as
   commons-email 2.0, but no one has yet shown the interest in
   developing it into a fully realized project. Contributors are
@@ -86,8 +86,8 @@
 development of this component to ensure that it continues to meet a variety of needs.
 </p>
 <p>
-Ben Speakmon has volunteered for the time being to maintain the
-existing 1.1 release, triage bugs and feature requests, and answer
+Siegfried Goeschl has volunteered for the time being to maintain the
+existing 1.2 release, triage bugs and feature requests, and answer
 questions related to email that arise on the user mailing lists.
 </p>
 <ul>
@@ -99,6 +99,7 @@
 <li><a href="mailto:jon at apache.org">Jon Stevens</a> (Emeritus Committer)</li>
 <li><a href="mailto:dion at apache.org">dIon Gillard</a> (Commons Committer)</li>
 <li><a href="mailto:bspeakmon at apache.org">Ben Speakmon</a> (Commons Committer)</li>
+<li><a href="mailto:sgoeschl at apache.org">Siegfried Goeschl</a> (Commons Committer)</li>
 </ul>
 
 </body>

Modified: commons/proper/email/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/changes/changes.xml?rev=783911&r1=783910&r2=783911&view=diff
==============================================================================
--- commons/proper/email/trunk/src/changes/changes.xml (original)
+++ commons/proper/email/trunk/src/changes/changes.xml Thu Jun 11 21:15:05 2009
@@ -23,7 +23,7 @@
 
   <body>
 
-    <release version="1.2-SNAPSHOT" date="as in SVN">
+    <release version="1.2" date="2009-06-12">
       <action dev="sgoeschl" type="add" issue="EMAIL-75" date="2009-04-05" due-to="Yu Kobayashi">
         Email.setFrom and Email.addTo are using Email.charset to properly encode the name.
       </action>

Modified: commons/proper/email/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/site/site.xml?rev=783911&r1=783910&r2=783911&view=diff
==============================================================================
--- commons/proper/email/trunk/src/site/site.xml (original)
+++ commons/proper/email/trunk/src/site/site.xml Thu Jun 11 21:15:05 2009
@@ -28,7 +28,7 @@
             <item name="Download"                href="http://commons.apache.org/downloads/download_email.cgi"/>
             <item name="Dependencies"            href="/dependencies.html"/>
             <item name="User guide"              href="/userguide.html"/>
-            <item name="Javadoc (1.1 release)"   href="/api-release/index.html"/>
+            <item name="Javadoc (1.2 release)"   href="/api-release/index.html"/>
             <item name="License"                 href="/license.html"/>
         </menu>
     

Modified: commons/proper/email/trunk/xdocs/index.xml
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/xdocs/index.xml?rev=783911&r1=783910&r2=783911&view=diff
==============================================================================
--- commons/proper/email/trunk/xdocs/index.xml (original)
+++ commons/proper/email/trunk/xdocs/index.xml Thu Jun 11 21:15:05 2009
@@ -78,8 +78,7 @@
 <p>
 The latest version is v1.2. 
 <a href="http://commons.apache.org/downloads/download_email.cgi">Download now!</a><br />
-The full <a href="changes-report.html">change log</a> is available,
-as are the <a href="release_1_2.html">v1.2 release notes</a>.
+The full <a href="changes-report.html">change log</a> is available
 </p>
 <p>
 For previous releases, see the <a href="http://archive.apache.org/dist/commons/email/">Apache Archive</a>.

Modified: commons/proper/email/trunk/xdocs/navigation.xml
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/xdocs/navigation.xml?rev=783911&r1=783910&r2=783911&view=diff
==============================================================================
--- commons/proper/email/trunk/xdocs/navigation.xml (original)
+++ commons/proper/email/trunk/xdocs/navigation.xml Thu Jun 11 21:15:05 2009
@@ -29,7 +29,7 @@
       <item name="Overview" href="/index.html"/>
       <item name="Download" href="http://commons.apache.org/downloads/download_email.cgi"/>
       <item name="User guide" href="/userguide.html"/>
-      <item name="Javadoc (1.1 release)" href="api-release/index.html"/>
+      <item name="Javadoc (1.2 release)" href="api-release/index.html"/>
     </menu>
 
     <menu name="Development">