[Email-SIG] fixing the current email module

Bill Janssen janssen at parc.com
Thu Oct 8 04:37:08 CEST 2009


Barry Warsaw <barry at python.org> wrote:

> > 5.  Mailing list archiver.  Input will be bytes or message objects,
> >    output will be strings (typically HTML documents or XML
> >    fragments).

I use the email package to implement an email archiver, and I do bytes
in and bytes out.  I do threading (using header instances), and process
attachments separately, which requires that they come out of the message
in their native format, whatever that is -- I treat it as bytes.

I also maintain a Python IMAP server which uses the email package to
construct messages, and then deconstructs them to send out in response
to IMAP requests.

Bill


More information about the Email-SIG mailing list