-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Cats,

On 9/29/2009 3:59 AM, Gatos wrote:
> For mail sending I'm using
> org.springframework.mail.javamail.JavaMailSenderImpl:

The Spring mailing list wouldn't be a bad place to cross-post (or simply
move over there).

>     <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.

Sounds like it's a JVM default encoding problem. How are you populating
your email message with content?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrCIo4ACgkQ9CaO5/Lv0PCSPQCeI0Nm4hN0AYhI4319WRa1qEc3
D6oAn017j90GHH3WT+kuK0Ha86cthKVT
=w5hr
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to