Re: fixing the current email module

Bill Janssen <[email protected]>
Newsgroups gmane.comp.python.mime.devel
Message-ID <[email protected]>
Barry Warsaw <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.