Menu

#447 invite_members command line

Mailman 2.1
open
nobody
5
2007-05-28
2007-05-28
Alexis
No

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.

Discussion

  • Alexis

    Alexis - 2007-05-28

    invite_members command line

     
  • mylogon

    mylogon - 2007-07-27

    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.

     
  • mylogon

    mylogon - 2007-07-27

    Logged In: YES
    user_id=1042734
    Originator: NO

    I see someone else already did.

     

Log in to post a comment.