noel        2004/04/16 13:59:53

  Modified:    src/java/org/apache/james/transport/mailets/listservcommands
                        Tag: branch_2_1_fcs BaseCommand.java
  Log:
  Fix JAMES-238.  Added code to set the Date: header
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.4   +2 -1      
james-server/src/java/org/apache/james/transport/mailets/listservcommands/Attic/BaseCommand.java
  
  Index: BaseCommand.java
  ===================================================================
  RCS file: 
/home/cvs/james-server/src/java/org/apache/james/transport/mailets/listservcommands/Attic/BaseCommand.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- BaseCommand.java  15 Mar 2004 03:54:20 -0000      1.1.2.3
  +++ BaseCommand.java  16 Apr 2004 20:59:53 -0000      1.1.2.4
  @@ -207,6 +207,7 @@
           message.setRecipients(Message.RecipientType.TO, toAddrs);
           message.setFrom(from);
           message.setSubject(emailSubject);
  +        message.setSentDate(new java.util.Date());
   
           MimeMultipart msgbody = new MimeMultipart();
           MimeBodyPart html = new MimeBodyPart();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to