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.
Is there any method that i missed or i doing the wrong way .. What should i do for this task.
dwaker,
From Nepal
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@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Diwaker Ghimire
-
Mark Sapiro