I have just excluded other e-mail dependencies from maven. On Tue, Sep 29, 2009 at 6:06 PM, Christopher Schultz < ch...@christopherschultz.net> wrote:
> -----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 > >