Simon Willison’s Weblog

Python e-mail features

Python 2.2.2 is out. It’s mostly bug fixes, but they have also included the latest version of the Python email package. I’ve been playing with Python’s email features recently as part of an experimental idea to import all of my mail (from various accounts) in to a mySQL database and build my own web mail / mail application program. Working with email in Python is beautfully simple, thanks to the aforementioned email package and the powerful pop3 and IMAP classes in the standard library.

This is Python e-mail features by Simon Willison, posted on 15th October 2002.

Next: Mozilla prefetching

Previous: Scam the spammers

Previously hosted at http://simon.incutio.com/archive/2002/10/15/pythonEmail