commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcna...@apache.org
Subject cvs commit: jakarta-commons-sandbox/email/src/java/org/apache/commons/mail Email.java
Date Fri, 04 Oct 2002 17:16:31 GMT
jmcnally    2002/10/04 10:16:31

  Modified:    email    project.xml
               email/src/java/org/apache/commons/mail Email.java
  Log:
  set the date if it has not been set previously.
  also added myself to the list of developers
  
  Revision  Changes    Path
  1.5       +6 -0      jakarta-commons-sandbox/email/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/email/project.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- project.xml	4 Aug 2002 02:28:47 -0000	1.4
  +++ project.xml	4 Oct 2002 17:16:31 -0000	1.5
  @@ -40,6 +40,12 @@
         <organization>CollabNet, Inc.</organization>
       </developer>
       <developer>
  +      <name>John McNally</name>
  +      <id>jmcnally</id>
  +      <email>jmcnally@collab.net</email>
  +      <organization>CollabNet, Inc.</organization>
  +    </developer>
  +    <developer>
         <name>dIon Gillard</name>
         <id>dion</id>
         <email>dion@multitask.com.au</email>
  
  
  
  1.4       +6 -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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Email.java	17 Sep 2002 22:08:21 -0000	1.3
  +++ Email.java	4 Oct 2002 17:16:31 -0000	1.4
  @@ -589,6 +589,11 @@
               }
           }
   
  +        if (message.getSentDate() == null) 
  +        {
  +            message.setSentDate(new Date());
  +        }
  +        
           Transport.send(message);
       }
   
  
  
  

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


Mime
View raw message