Actually I just learned that not only do I need to add a footer, I have to remove the current footer of the incoming message. I got custom footer piece to work now, but now I actually need to edit the body of the message. What might be the best way of doing this?
-Rob -----Original Message----- From: Mark Sapiro [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 6:18 PM To: Rob Jackson; mailman-users@python.org Subject: Re: [Mailman-Users] Custom footer based on sender's email Rob Jackson wrote: >I need to figure out how to add a footer to an e-mail coming from a specific >user. I just can't seem to figure this out. I have created a module to >weed out the address, but now I need to munge the body of the message. You will need to do several things. 1) set OWNERS_CAN_ENABLE_PERSONALIZATION = Yes in mm_cfg.py so you can do 2) set the list's personalize option (in Non-digest options) to Yes so you will be sending separately to each recipient, then 3) see Mailman/Handlers/Decorate.py for the current code that adds personalized headers and footers. You either have to make your changes here or in Mailman/Handlers/SMTPDirect.py in the verpdeliver() function. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp