
May 5, 2006
4:20 p.m.
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@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan