You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2004/04/16 22:59:53 UTC

cvs commit: james-server/src/java/org/apache/james/transport/mailets/listservcommands BaseCommand.java

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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org