diff roundup/mailer.py @ 3482:db856d488de0

fixes
author Richard Jones <richard@users.sourceforge.net>
date Fri, 20 Jan 2006 03:04:14 +0000
parents 75b4c2c32cf3
children fe75b55fc49d
line wrap: on
line diff
--- a/roundup/mailer.py	Fri Jan 20 02:45:36 2006 +0000
+++ b/roundup/mailer.py	Fri Jan 20 03:04:14 2006 +0000
@@ -1,7 +1,7 @@
 """Sending Roundup-specific mail over SMTP.
 """
 __docformat__ = 'restructuredtext'
-# $Id: mailer.py,v 1.11 2006-01-13 02:38:45 richard Exp $
+# $Id: mailer.py,v 1.12 2006-01-20 03:04:14 richard Exp $
 
 import time, quopri, os, socket, smtplib, re
 
@@ -60,7 +60,7 @@
         writer.addheader('Subject', encode_header(subject, charset))
         writer.addheader('To', ', '.join(to))
         writer.addheader('From', author)
-        writer.addheader('Date', formatdate(time.gmtime()))
+        writer.addheader('Date', formatdate(time.mktime(time.gmtime())))
 
         # Add a unique Roundup header to help filtering
         writer.addheader('X-Roundup-Name', encode_header(tracker_name,

Roundup Issue Tracker: http://roundup-tracker.org/