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 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 -- https://mail.python.org/mailman/listinfo/python-list