Hi, I have configured Logback SmtpAppender. I am receiving mails properly but sometimes I end up receiving content as shown below. Seems like some string is getting prepended "------=_Part_145_1412302184.1472843545450" to mail.
I am using this in my Play framework application 2.2. Has anyone else faced this issue? If so, is there a way to resolve it. Thank you in advance. *Mail content:* ------=_Part_145_1412302184.1472843545450 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Logback Log Messages</title> <style type="text/css"> table { margin-left: 2em; margin-right: 2em; border-left: 2px solid #AAA; } TR.even { background: #FFFFFF; } TR.odd { background: #EAEAEA; } TR.warn TD.Level, TR.error TD.Level, TR.fatal TD.Level {font-weight: bold; color: #FF4040 } TD { padding-right: 1ex; padding-left: 1ex; border-right: 2px solid #AAA; } TD.Time, TD.Date { text-align: right; font-family: courier, monospace; font-size: smaller; } TD.Thread { text-align: left; } TD.Level { text-align: right; } TD.Logger { text-align: left; } TR.header { background: #596ED5; color: #FFF; font-weight: bold; font-size: larger; } TD.Exception { background: #A2AEE8; font-family: courier, monospace;} </style> </head> ...My application error logs <body> </body> Thank you. Regards, Saurabh Khanduja.
_______________________________________________ logback-user mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-user
