summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/Hold.py
diff options
context:
space:
mode:
authormsapiro2006-04-17 21:52:04 +0000
committermsapiro2006-04-17 21:52:04 +0000
commit30ec97aece5ab2bb5e1cc1368fab91088c843d31 (patch)
tree9ca0a461fbb8dc80621448a6856ddd1664fdbe1a /Mailman/Handlers/Hold.py
parentc225f5f37a089b645ba6aff4ad0e41fcce12c723 (diff)
downloadmailman-30ec97aece5ab2bb5e1cc1368fab91088c843d31.tar.gz
mailman-30ec97aece5ab2bb5e1cc1368fab91088c843d31.tar.zst
mailman-30ec97aece5ab2bb5e1cc1368fab91088c843d31.zip
Diffstat (limited to 'Mailman/Handlers/Hold.py')
-rw-r--r--Mailman/Handlers/Hold.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mailman/Handlers/Hold.py b/Mailman/Handlers/Hold.py
index a044b67ee..b82bbd51c 100644
--- a/Mailman/Handlers/Hold.py
+++ b/Mailman/Handlers/Hold.py
@@ -281,6 +281,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))