diff options
author | Mark Sapiro <msapiro@value.net> | 2007-11-04 15:19:31 -0800 |
---|---|---|
committer | Mark Sapiro <msapiro@value.net> | 2007-11-04 15:19:31 -0800 |
commit | 86384d9dc64e7e39e0c4c05847e15299dc6f9684 (patch) | |
tree | 0a66bd6cc36fe11b93fa8291a9314ef44994d33c /Mailman/Handlers | |
parent | 6684e734f8e271aec3bf63233b19e2a57ce87d98 (diff) | |
download | mailman2-86384d9dc64e7e39e0c4c05847e15299dc6f9684.tar.gz mailman2-86384d9dc64e7e39e0c4c05847e15299dc6f9684.tar.xz mailman2-86384d9dc64e7e39e0c4c05847e15299dc6f9684.zip |
Added Date and Message-ID headers to the confirm reply
message that Mailman adds to the admin notification.
Diffstat (limited to 'Mailman/Handlers')
-rw-r--r-- | Mailman/Handlers/Hold.py | 4 |
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)) |