
July 24, 2005
7:19 p.m.
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