
14 Nov
2012
14 Nov
'12
5:47 p.m.
Filipe Sousa <natros@...> writes:
Hi.
For some reason I'm receiving email reports with mime type text/plain and my email client shows all the html code. I'm attaching a report sent by logback.
I'm using javax.mail 1.4.4 and this logback (1.0.3) configuration
I had the same problem and just found the explanation: I had a (not direct) dependency to geronimo-javamail_1.4_spec and this implementation was used and it forces the content-type to 'text/plain' (http://grepcode.com/file/repo1.maven.org/maven2/org.apache.geronimo.specs/ge...) So just exclude 'geronimo-javamail_1.4_spec' and it should solve your problem.