commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From quint...@apache.org
Subject cvs commit: jakarta-commons-sandbox/email/src/java/org/apache/commons/mail Email.java
Date Sun, 09 Mar 2003 20:14:50 GMT
quintonm    2003/03/09 12:14:50

  Modified:    email/src/java/org/apache/commons/mail Email.java
  Log:
  If the body of the email is not set in a subclass, the content
  will be set to an empty string.  This allows emails without a body
  to be sent.
  
  Revision  Changes    Path
  1.8       +5 -1      jakarta-commons-sandbox/email/src/java/org/apache/commons/mail/Email.java
  
  Index: Email.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/email/src/java/org/apache/commons/mail/Email.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Email.java	9 Mar 2003 19:44:53 -0000	1.7
  +++ Email.java	9 Mar 2003 20:14:49 -0000	1.8
  @@ -615,6 +615,10 @@
           {
               message.setContent(emailBody);
           }
  +        else
  +        {
  +            message.setContent("",TEXT_PLAIN);
  +        }
   
           if (fromAddress != null)
           {
  
  
  

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


Mime
View raw message