Standard module for parsing emails?

Maric Michaud maric at aristote.info
Wed Jul 30 11:54:27 EDT 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?
> --
> http://mail.python.org/mailman/listinfo/python-list

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