summaryrefslogtreecommitdiff
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
authorbwarsaw2002-10-15 05:48:55 +0000
committerbwarsaw2002-10-15 05:48:55 +0000
commitf4fa04dd9e099cfffeb8833f89d899c5b12b3965 (patch)
tree549b9c57d219a7b4465d70620283ab32a6cb54e8 /Mailman/MailList.py
parentd9f5819ff345690274cd4154a42bd1f8671d2071 (diff)
downloadmailman-f4fa04dd9e099cfffeb8833f89d899c5b12b3965.tar.gz
mailman-f4fa04dd9e099cfffeb8833f89d899c5b12b3965.tar.zst
mailman-f4fa04dd9e099cfffeb8833f89d899c5b12b3965.zip
ApprovedDeleteMember(): Use the new OwnerNotification class to send
the admin_notify_mchanges notice. This also fixes the bug Chuq saw where the notification message was sent to the list owners via a roundtrip through the mta. We now send it directly to the owners.
Diffstat (limited to '')
-rw-r--r--Mailman/MailList.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index de2962483..dc9a5442a 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -933,10 +933,11 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin,
{'member' : name,
'listname': self.real_name,
}, mlist=self)
- msg = Message.UserNotification(
- self.GetOwnerEmail(),
+ msg = Message.OwnerNotification(
+ self,
Utils.get_site_email(self.host_name, 'owner'),
- subject, text, self.preferred_language)
+ subject, text)
+ # Make it look like the
msg.send(self)
if whence:
whence = "; %s" % whence