Standard module for parsing emails?

Aspersieman aspersieman at gmail.com
Wed Jul 30 11:55:35 EDT 2008


Phillip B Oldham wrote:
> 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
>
>   
The search [1] yielded these results:
    1) http://docs.python.org/lib/module-email.html
    2)
http://www.devshed.com/c/a/Python/Python-Email-Libraries-SMTP-and-Email-Parsing/

I have used the email module very successfully.

Also you can try the following to connect to mailboxes:
    1) poplib
    2) smtplib

For parsing the mails I would recommend pyparsing.


[1]
http://www.google.com/search?client=opera&rls=en&q=python+email&sourceid=opera&ie=utf-8&oe=utf-8

Regards

Nicolaas

-- 

The three things to remember about Llamas:
1) They are harmless
2) They are deadly
3) They are made of lava, and thus nice to cuddle. 





More information about the Python-list mailing list