faqts : Computers : Programming : Languages : Python : Common Problems : Email

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 5 people (100%) answered Yes
Recently 2 of 2 people (100%) answered Yes

Entry

Is there a standard way to read-write the e-mail with python?

May 17th, 2004 09:52
Steve Holden, unknown unknown, Oleg Broytmann


Write with smtplib.py.
Read with mimetools.py [More recent advice: use the "email" module].
Download and read docs for extract_mime - it is a template for reading
e-mails from MTA (Mail Transfer Agent).
Master site:
http://sun.med.ru/~phd/Software/Python/#extract_mime
Faster mirrors: 
http://skyscraper.fortunecity.com/unix/797/Software/Python/#extract_mime
http://members.xoom.com/_XMCM/phd2.1/Software/Python/index.html#extract_
mime