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.
invite_members command line
Logged In: YES
user_id=1042734
Originator: NO
Would be real nice if could prepend a welcome message - so would be a one time thing - as on the web form.
Logged In: YES
user_id=1042734
Originator: NO
I see someone else already did.