[ mailman-Patches-1727084 ] invite_members command line

SourceForge.net noreply at sourceforge.net
Mon May 28 21:48:54 CEST 2007


Patches item #1727084, was opened at 2007-05-28 22:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1727084&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: command line scripts
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alexis (alexistr)
Assigned to: Nobody/Anonymous (nobody)
Summary: invite_members command line

Initial Comment:
A script to invite new members from command line. 
Derived from add_members.
I add "-l" option to choose the language of the invited user.
To have de mail sent in the proper language small change are necessary in MailList.py function InviteNewMember:

if userdesc.language:
	lang = userdesc.language
else:
	lang = self.preferred_language
-----------------
Utils.maketext(.............lang=lang)
-----------------
Message.UserNotification(...............lang=lang)

Could be nice to add this as an option in add_members.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1727084&group_id=103


More information about the Mailman-coders mailing list