diff options
Diffstat (limited to 'bin/newlist')
-rwxr-xr-x | bin/newlist | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/newlist b/bin/newlist index 2e16a934..d3b46996 100755 --- a/bin/newlist +++ b/bin/newlist @@ -189,7 +189,7 @@ def main(): if not quiet: print _('Hit enter to notify %(listname)s owner...'), sys.stdin.readline() - siteadmin = Utils.get_site_email(mlist.host_name, 'admin') + siteowner = Utils.get_site_email(mlist.host_name, 'owner') text = Utils.maketext( 'newlist.txt', {'listname' : listname, @@ -197,7 +197,7 @@ def main(): 'admin_url' : mlist.GetScriptURL('admin', absolute=1), 'listinfo_url': mlist.GetScriptURL('listinfo', absolute=1), 'requestaddr' : mlist.GetRequestEmail(), - 'siteowner' : siteadmin, + 'siteowner' : siteowner, }, mlist=mlist) # Set the I18N language to the list's preferred language so the header # will match the template language. Stashing and restoring the old @@ -206,7 +206,7 @@ def main(): i18n.set_language(mlist.preferred_language) try: msg = Message.UserNotification( - owner_mail, siteadmin, + owner_mail, siteowner, _('Your new mailing list: %(listname)s'), text, mlist.preferred_language) msg.send(mlist) |