summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 04c04a5)
raw | patch | inline | side by side (parent: 04c04a5)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 11 Dec 2002 01:52:20 +0000 (01:52 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 11 Dec 2002 01:52:20 +0000 (01:52 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1403 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/mailgw.py | patch | blob | history | |
roundup/roundupdb.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 9cb3c5b8e1c2bfb55adf9c9426587abb39d312e9..ad8831abfcb430b7d18addbdd9ad8756b9c272ba 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
- don't set explicit None Link properties in web create
- fixed nasty sorting bug that was lowercasing properties
- allow multiple :remove and :add elements per property being edited
- don't set explicit None Link properties in web create
- fixed nasty sorting bug that was lowercasing properties
- allow multiple :remove and :add elements per property being edited
+- added date header to emails (sf bug 651358)
2002-11-07 0.5.2
2002-11-07 0.5.2
diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index b7b29a6e455af90a003cbec69cff352b0461f721..9de891be5ccd136bbbc6de31f5b9800ab533c9bb 100644 (file)
--- a/roundup/mailgw.py
+++ b/roundup/mailgw.py
an exception, the original message is bounced back to the sender with the
explanatory message given in the exception.
an exception, the original message is bounced back to the sender with the
explanatory message given in the exception.
-$Id: mailgw.py,v 1.101 2002-12-10 00:23:35 richard Exp $
+$Id: mailgw.py,v 1.102 2002-12-11 01:52:20 richard Exp $
'''
import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
'''
import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
writer.addheader('From', '%s <%s>'% (self.instance.config.TRACKER_NAME,
self.instance.config.TRACKER_EMAIL))
writer.addheader('To', ','.join(sendto))
writer.addheader('From', '%s <%s>'% (self.instance.config.TRACKER_NAME,
self.instance.config.TRACKER_EMAIL))
writer.addheader('To', ','.join(sendto))
+ writer.addheader('Date', time.strftime("%a, %d %b %Y %H:%M:%S +0000",
+ time.gmtime()))
writer.addheader('MIME-Version', '1.0')
part = writer.startmultipartbody('mixed')
part = writer.nextpart()
writer.addheader('MIME-Version', '1.0')
part = writer.startmultipartbody('mixed')
part = writer.nextpart()
diff --git a/roundup/roundupdb.py b/roundup/roundupdb.py
index af624eba974697dfd9fd599eee7b98a0cc0ffb8e..18505d99c25de389ae3df95da3f10d097ac15138 100644 (file)
--- a/roundup/roundupdb.py
+++ b/roundup/roundupdb.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: roundupdb.py,v 1.74 2002-12-10 00:23:36 richard Exp $
+# $Id: roundupdb.py,v 1.75 2002-12-11 01:52:20 richard Exp $
__doc__ = """
Extending hyperdb with types specific to issue-tracking.
__doc__ = """
Extending hyperdb with types specific to issue-tracking.
writer.addheader('Reply-To', straddr(
(self.db.config.TRACKER_NAME,
self.db.config.TRACKER_EMAIL) ) )
writer.addheader('Reply-To', straddr(
(self.db.config.TRACKER_NAME,
self.db.config.TRACKER_EMAIL) ) )
+ writer.addheader('Date', time.strftime("%a, %d %b %Y %H:%M:%S +0000",
+ time.gmtime()))
writer.addheader('MIME-Version', '1.0')
if messageid:
writer.addheader('Message-Id', messageid)
writer.addheader('MIME-Version', '1.0')
if messageid:
writer.addheader('Message-Id', messageid)