SMTPHandler and Unicode

Chris Withers chris at simplistix.co.uk
Mon Jul 5 07:17:02 EDT 2010


norbert wrote:
> I want to send error messages with SMTPHandler logging. But
> SMTPHandler does not seem to be unicode aware. Is there something
> doable without playing with sys.setdefaultencoding ?

try MailingLogger:

http://www.simplistix.co.uk/software/python/mailinglogger

If you have unicode problems with that, I'd be interested in fixing them!

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk



More information about the Python-list mailing list