Re: SMTPHandler and mail subject

2014-03-12 Thread Chris Withers
If you want a much more fully-featured mail handler for the standard logging framework, there's this: https://pypi.python.org/pypi/mailinglogger/3.8.0 cheers, Chris On 12/03/2014 12:25, eras.rasmu...@gmail.com wrote: It works. Thank you :) Eras -- Simplistix - Content Management, B

Re: SMTPHandler and mail subject

2014-03-12 Thread eras . rasmuson
It works. Thank you :) Eras -- https://mail.python.org/mailman/listinfo/python-list

Re: SMTPHandler and mail subject

2014-03-12 Thread Andriy Kornatskyy
Eras, You have to override getSubject method of SMTPHandler. http://hg.python.org/cpython/file/677327810121/Lib/logging/handlers.py#l907 Thanks. Andriy Kornatskyy On Mar 12, 2014, at 12:08 PM, eras.rasmu...@gmail.com wrote: > Hi > > I use logging.handlers.SMTPHandler and i have tried to chan