Diwaker Ghimire wrote:

>I am working on mailman, I need to do some changes that i have to intercept
>subscriptions comming to our mailing list so that i can work with it.
>
>i tried to subclass OldStyleMemberships (succeed in hooking though) but
>could not find which of the class member is called during subscription.


addNewMember() is called to subscribe a member to a list.


>Is there any method that i missed or i doing the wrong way .. What should i
>do for this task.


You can read the documentation of all the MemberAdaptor methods in
Mailman/MemberAdaptor.py.

Note that addNewMember() is only called to actually add a member to the
list. If you are trying to hook in to the subscription process
earlier, e.g. before it is confirmed by the user or approved by the
admin, you will need to hook into the AddMember() method in
Mailman/MailList.py.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to