I've been looking to see if I can add an option to the listinfo page that will allow a subscriber to choose NoMail when they sign up.

In subscribe.py I see this:

try:
    userdesc = UserDesc(email, fullname, password, digest, lang)
    mlist.AddMember(userdesc, remote)
    results = ''

I assume I need to make a NoMail option to listinfo and subscribe.py, and add a variable for NoMail to UserDesc.py . I find AddMember and ApprovedAddMember in MailList.py. It looks like I need to use setMemberOption with "nomail" as the flag in ApprovedAddMember to set NoMail?

Am I on the right track here? Missing anything, or missing an easier way?

As for the "why would you want to do this" question - I have a good number of folks who read and post from the archives.

<>< Paul



------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to