aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/Hold.py
diff options
context:
space:
mode:
authorTokio Kikuchi <tkikuchi@is.kochi-u.ac.jp>2007-11-16 11:48:35 +0900
committerTokio Kikuchi <tkikuchi@is.kochi-u.ac.jp>2007-11-16 11:48:35 +0900
commit8f5d8d2eb9e8bf62a598f126419d18eb3163050e (patch)
treee9dd5c5e73bed1b75811ff7614ba6489c2cd48f1 /Mailman/Handlers/Hold.py
parentba98caf52c18dea4ea244c092617677bdbb01015 (diff)
parent70689d7eb61f8c852a6a02be1d65c86cde06bde2 (diff)
downloadmailman2-8f5d8d2eb9e8bf62a598f126419d18eb3163050e.tar.gz
mailman2-8f5d8d2eb9e8bf62a598f126419d18eb3163050e.tar.xz
mailman2-8f5d8d2eb9e8bf62a598f126419d18eb3163050e.zip
merge and commit
Diffstat (limited to '')
-rw-r--r--Mailman/Handlers/Hold.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Handlers/Hold.py b/Mailman/Handlers/Hold.py
index f6008d45..d4af8f9a 100644
--- a/Mailman/Handlers/Hold.py
+++ b/Mailman/Handlers/Hold.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2006 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2007 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -283,6 +283,8 @@ also appear in the first line of the body of the reply.""")),
dmsg['Subject'] = 'confirm ' + cookie
dmsg['Sender'] = requestaddr
dmsg['From'] = requestaddr
+ dmsg['Date'] = email.Utils.formatdate(localtime=True)
+ dmsg['Message-ID'] = Utils.unique_message_id(mlist)
nmsg.attach(text)
nmsg.attach(MIMEMessage(msg))
nmsg.attach(MIMEMessage(dmsg))