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 _______________________________________________ Email-SIG mailing list [email protected] Your options: http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com
