[Zope-Checkins] CVS: Zope/lib/python/Products/MailHost - MailHost.py:1.74.4.1 version.txt:1.3.320.1
Chris McDonough
chrism@zope.com
Sat, 26 Oct 2002 15:52:12 -0400
Update of /cvs-repository/Zope/lib/python/Products/MailHost
In directory cvs.zope.org:/tmp/cvs-serv31373/lib/python/Products/MailHost
Modified Files:
Tag: chrism-install-branch
MailHost.py version.txt
Log Message:
Merge with HEAD. Again, sorry for the spew (what's left of it... someone seems to have filtered some of this branch's checkins out).
=== Zope/lib/python/Products/MailHost/MailHost.py 1.74 => 1.74.4.1 ===
--- Zope/lib/python/Products/MailHost/MailHost.py:1.74 Wed Aug 14 18:14:51 2002
+++ Zope/lib/python/Products/MailHost/MailHost.py Sat Oct 26 15:51:41 2002
@@ -24,6 +24,7 @@
from AccessControl import ClassSecurityInfo
from AccessControl.Permissions import view_management_screens, \
use_mailhost_services
+from DateTime import DateTime
smtpError = "SMTP Error"
MailHostError = "MailHost Error"
@@ -202,6 +203,9 @@
if mo.getheader('Bcc'):
mo.__delitem__('Bcc')
+
+ if not mo.getheader('Date'):
+ mo['Date'] = DateTime().rfc822()
mo.rewindbody()
finalmessage = mo
=== Zope/lib/python/Products/MailHost/version.txt 1.3 => 1.3.320.1 ===
--- Zope/lib/python/Products/MailHost/version.txt:1.3 Mon Dec 13 18:14:46 1999
+++ Zope/lib/python/Products/MailHost/version.txt Sat Oct 26 15:51:41 2002
@@ -1 +1 @@
-MailHost-1-2-0
+MailHost-1-3-0