aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi
diff options
context:
space:
mode:
authorJim Popovitch <jimpop@gmail.com>2016-10-11 15:26:21 +0000
committerJim Popovitch <jimpop@gmail.com>2016-10-11 15:26:21 +0000
commit8d98726fc0aa73ab8ab17822b4331e91162f722f (patch)
tree3cb74ad8d52f64d10ab90884e35527c7bbe43d27 /Mailman/Cgi
parent2fa8a893c410648ee86d28d379f717f2a83d0fd1 (diff)
downloadmailman2-8d98726fc0aa73ab8ab17822b4331e91162f722f.tar.gz
mailman2-8d98726fc0aa73ab8ab17822b4331e91162f722f.tar.xz
mailman2-8d98726fc0aa73ab8ab17822b4331e91162f722f.zip
Further changes to keep domains aligned with virtual list notification emails
Diffstat (limited to 'Mailman/Cgi')
-rw-r--r--Mailman/Cgi/create.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Mailman/Cgi/create.py b/Mailman/Cgi/create.py
index dd862208..cac5a2e7 100644
--- a/Mailman/Cgi/create.py
+++ b/Mailman/Cgi/create.py
@@ -250,10 +250,9 @@ def process_request(doc, cgidata):
'requestaddr' : mlist.GetRequestEmail(),
'siteowner' : siteowner,
}, mlist=mlist)
- msg = Message.UserNotification(
- owner, siteowner,
+ msg = Message.OwnerNotification(mlist,
_('Your new mailing list: %(listname)s'),
- text, mlist.preferred_language)
+ text=text, tomoderators=0)
msg.send(mlist)
# Success!