[Mailman-Developers] SMTP authentication
Barry Warsaw
barry at python.org
Mon Jul 25 02:19:03 CEST 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/mailman-developers/attachments/20050724/4366957a/attachment.pgp
More information about the Mailman-Developers
mailing list