Ben: What version of Log4j are you using?
Can you post you full config file please? Gary On Thu, Nov 5, 2015 at 11:55 AM, Benjamin Jaton <[email protected]> wrote: > Hi, > > I am using the SMTPAppender with a custom pattern: > "PatternLayout" : { "pattern" : "<a href='...'>%m</a><br/>" } > > But the email is sent as text. > > I saw that there is a HTMLLayout but it doesn't seem to accept a pattern? > > How can I produce a custom HTML message? > > Thanks! > Ben > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
