Hello For mail sending I'm using org.springframework.mail.javamail.JavaMailSenderImpl:
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"> <property name="host" value="${mail.host}" /> <property name="username" value="${mail.username}" /> <property name="password" value="${mail.password}" /> <property name="defaultEncoding" value="UTF-8" /> </bean> but for some reason when I deploy an application to tomcat 5.5.x, all emails come with 'Western European' encoding and all html tags are shown. When I try to run this app with jetty or tomcat using maven plugin, encoding is correct. What could be the cause of the problem? Thank you.