summaryrefslogtreecommitdiff
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
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