summaryrefslogtreecommitdiff
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
authorbwarsaw2001-07-11 20:07:53 +0000
committerbwarsaw2001-07-11 20:07:53 +0000
commitf9419063105f9c564568d8e2a01b7cd852209a0c (patch)
tree93bc35183513cc240d06b094bbcd451d9d22fe9c /Mailman/MailList.py
parentbf0ab6fe23bd1b733b54fde3521113db60168059 (diff)
downloadmailman-f9419063105f9c564568d8e2a01b7cd852209a0c.tar.gz
mailman-f9419063105f9c564568d8e2a01b7cd852209a0c.tar.zst
mailman-f9419063105f9c564568d8e2a01b7cd852209a0c.zip
AddMember(), ChangeMemberAddress(), ConfirmUnsubscription(): Shorten
the Subject: header so that it contains just the word "confirm" and the confirmation cookie. This doesn't lose any important information (which is still contained in the body of the message), and it helps for MUAs that like to wrap long Subject: lines.
Diffstat (limited to 'Mailman/MailList.py')
-rw-r--r--Mailman/MailList.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index d230d30f2..de18d3a4b 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -1102,7 +1102,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
}, lang=lang, mlist=self)
msg = Message.UserNotification(
recipient, self.GetRequestEmail(),
- _('%(realname)s -- confirmation of subscription -- confirm %(cookie)s'),
+ _('confirm %(cookie)s'),
text)
msg['Reply-To'] = self.GetRequestEmail()
msg.send(self)
@@ -1150,7 +1150,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
}, lang=self.GetPreferredLanguage(oldaddr), mlist=self)
msg = Message.UserNotification(
newaddr, self.GetRequestEmail(),
- _('%(realname)s -- confirmation of subscription -- confirm %(cookie)s'),
+ _('confirm %(cookie)s'),
text)
msg['Reply-To'] = self.GetRequestEmail()
msg.send(self)
@@ -1212,7 +1212,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
}, lang=lang, mlist=self)
msg = Message.UserNotification(
addr, self.GetRequestEmail(),
- _('%(realname)s -- confirmation of removal -- confirm %(cookie)s'),
+ _('confirm %(cookie)s'),
text)
msg['Reply-To'] = self.GetRequestEmail()
msg.send(self)