A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-January/085073.html below:

[Python-Dev] imap bodystructure parser - email.message.Message extension

[Python-Dev] imap bodystructure parser - email.message.Message extension [Python-Dev] imap bodystructure parser - email.message.Message extensionSté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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4