On Sun, 2005-07-24 at 19:23, Jeffrey Borkent wrote: > How in python do i parse a whole email into an email.Message() object?
You can use email.message_from_string() or .message_from_file(), but I'm not sure you'll need to do this. The Mailman part that you'll want to write will likely be a "handler", in which case you'll get a Mailman.Message object passed to you already parsed. This is just a subclass of email.Message.Message. -Barry
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Mailman-Developers mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-developers 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-developers/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
