summaryrefslogtreecommitdiff
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
authorbwarsaw2002-03-14 22:36:29 +0000
committerbwarsaw2002-03-14 22:36:29 +0000
commit9dd5ca1da8d6d6986bfe6a77aa4fcd2f67c36127 (patch)
tree74a366703c8a5aecbc51892b7a9a2150b75584a9 /Mailman/MailList.py
parent19f8950010ae01a1535fe60cffa386247cf41b94 (diff)
downloadmailman-9dd5ca1da8d6d6986bfe6a77aa4fcd2f67c36127.tar.gz
mailman-9dd5ca1da8d6d6986bfe6a77aa4fcd2f67c36127.tar.zst
mailman-9dd5ca1da8d6d6986bfe6a77aa4fcd2f67c36127.zip
ApprovedAddMember(), ApprovedDeleteMember(): The admin notification
messages should be sent to the -owner address rather than the self.owner[s] directly. Also, the messages should look like they're coming from the site list's -owner.
Diffstat (limited to 'Mailman/MailList.py')
-rw-r--r--Mailman/MailList.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index b27701f0c..f9e8e500d 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -815,7 +815,8 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
"member" : dump_address_pair((name, email)),
}, lang=lang, mlist=self)
msg = Message.UserNotification(
- self.owner, Utils.get_site_email(self.host_name, 'admin'),
+ self.GetOwnerEmail(),
+ Utils.get_site_email(self.host_name, 'owner'),
subject, text, lang)
msg.send(self)
@@ -853,7 +854,8 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
'listname': self.real_name,
}, mlist=self)
msg = Message.UserNotification(
- self.owner, Utils.get_site_email(self.host_name, 'admin'),
+ self.GetOwnerEmail(),
+ Utils.get_site_email(self.host_name, 'owner'),
subject, text, self.preferred_language)
msg.send(self)
if whence: