From 86384d9dc64e7e39e0c4c05847e15299dc6f9684 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sun, 4 Nov 2007 15:19:31 -0800 Subject: Added Date and Message-ID headers to the confirm reply message that Mailman adds to the admin notification. --- Mailman/Handlers/Hold.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Mailman') 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)) -- cgit v1.2.3