[Mailman-Users] Custom footer based on sender's email
Mark Sapiro
msapiro at value.net
Fri May 5 18:20:02 CEST 2006
>That is the thing, it will be the same everytime. It is a message
>automatically generated from a message board, unfortunatly, we are
>out-sourcing the message board and they are not capable to change the footer
>on a user level.
You can delete the incoming footer in the same place you add the new
one. You can do something like
pl = msg.get_payload(decode=True)
re.sub(pattern_matching_old_footer, replacement_footer, pl)
msg.set_payload(pl)
--
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list