commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgoes...@apache.org
Subject svn commit: r762151 - /commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java
Date Sun, 05 Apr 2009 20:25:54 GMT
Author: sgoeschl
Date: Sun Apr  5 20:25:54 2009
New Revision: 762151

URL: http://svn.apache.org/viewvc?rev=762151&view=rev
Log:
Clarified the behaviour of setMailSession()

Modified:
    commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java

Modified: commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java?rev=762151&r1=762150&r2=762151&view=diff
==============================================================================
--- commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java (original)
+++ commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java Sun Apr  5 20:25:54
2009
@@ -428,6 +428,10 @@
      * create a new mail session with a DefaultAuthenticator. This is a
      * convience but might come unexpected.
      *
+     * If mail authentication is used but NO username and password
+     * is supplied the implementation assumes that you have set a
+     * authenticator and will use the existing mail session (as expected).
+     *
      * @param aSession mail session to be used
      * @since 1.0
      */



Mime
View raw message