[Mailman-Developers] Hello

Mark Sapiro mark at msapiro.net
Mon May 31 16:15:52 CEST 2010


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 <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Developers mailing list