[Python-Dev] imap bodystructure parser - email.message.Message extension
Stéphane Konstantaropoulos
stephane at voyageonline.co.uk
Thu Jan 15 13:58:27 CET 2009
Hello,
I wrote an extension to the imaplib library that implements a "BODYSTRUCTURE"
parser.
For this I wrote an extension to email.message.Message that allows a message
structure to be loaded from imap, the message can be used like a normal
email.message.Message but the actual payload is only loaded on the fly. This
makes it much quicker for imap applications.
The code is here if anyone fancies a try:
http://voyageonline.co.uk/blog/article/python-imaplibx
I though it might be useful as imaplib is very low level.
Regards,
--
Stephane Konstantaropoulos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.python.org/pipermail/python-dev/attachments/20090115/b6ac741b/attachment.pgp>
More information about the Python-Dev
mailing list