Standard module for parsing emails?

Maric Michaud maric at
Wed Jul 30 17:54:27 CEST 2008

Le Wednesday 30 July 2008 17:15:07 Phillip B Oldham, vous avez écrit :
> If there isn't a standard library for parsing emails, is there one for
> connecting to a pop/imap resource and reading the mailbox?
> --

There are both shipped with python, email module and poplib, both very well 
documented in the official doc (with examples and all).

email module is rather easy to use, and really powerful, but you'l need to 
manage yourself the many ways email clients compose a message, and broken php 
webmails that doesn't respect RFCs (notably about encoding)...


Maric Michaud

More information about the Python-list mailing list