POP3 and Multipart Mime

Alex Martelli aleax at aleax.it
Fri Sep 27 02:51:27 EDT 2002


David McInnis wrote:

> Does anyone know where I can find a tutorial on how to accomplish the
> following?
>  
> I need to log into a POP3 account (which I have been able to do using
> poplib).
>  
> I need to be able to read and decode the message.  The problem is that
> most of our users send word docs as attachments (1 or more).  I need to
> take these files and save them to disk.

The email package, bundled since Python 2.2, makes it easy -- e.g.:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/86676


Alex




More information about the Python-list mailing list