On 11/29/06, Rupert Redington <[EMAIL PROTECTED]> wrote:
Those are great pointers, thanks, but I still can't understand why zope.app.mail's MailDir functions want to encode the message using the 'ascii' encoding, nor does there seem to be any way to suggest a different encoding to the mail system.
Perhaps because emails can only be transferred as ASCII? You need to encode the body of the email (and any headers) down to ASCII, see RFC 822 and friends. This is what mime encodings take care of, see the 'email' package in the python standard library. -- Martijn Pieters _______________________________________________ Zope3-users mailing list Zope3email@example.com http://mail.zope.org/mailman/listinfo/zope3-users