roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r376158 - /incubator/roller/trunk/src/org/roller/util/MailUtil.java
Date Thu, 09 Feb 2006 02:55:32 GMT
Author: snoopdave
Date: Wed Feb  8 18:55:32 2006
New Revision: 376158

URL: http://svn.apache.org/viewcvs?rev=376158&view=rev
Log:
Fixes ROL-1038: generated mails have no date header

Modified:
    incubator/roller/trunk/src/org/roller/util/MailUtil.java

Modified: incubator/roller/trunk/src/org/roller/util/MailUtil.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/util/MailUtil.java?rev=376158&r1=376157&r2=376158&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/util/MailUtil.java (original)
+++ incubator/roller/trunk/src/org/roller/util/MailUtil.java Wed Feb  8 18:55:32 2006
@@ -90,6 +90,7 @@
 		}	        
         message.setSubject((subject == null) ? "(no subject)" : subject);
         message.setContent(content, mimeType);
+        message.setSentDate(new java.util.Date()); 
 
 		// First collect all the addresses together.
         Address[] remainingAddresses = message.getAllRecipients();



Mime
View raw message