Shane Harsch wrote: >I want to write a script that looks for a particularly formatted string >in the body of a message, process it, and then replace that string with >the appropriate output. Is there a standard method for doing this, and >if so where?
The closest thing to a standard method would I think be a custom handler. See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.067.htp>. As far as the actual manipulation, you'd need to use the message methods get_payload() and set_payload(). See <http://docs.python.org/lib/module-email.html>. -- 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