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,
Hi
I use logging.handlers.SMTPHandler and i have tried to change subject of mail.
Are there exists easy way to do that ?
Subject of mail can change repeatedly depends on content of mail.
Eras
--
https://mail.python.org/mailman/listinfo/python-list
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 change
It works. Thank you :)
Eras
--
https://mail.python.org/mailman/listinfo/python-list