You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by cdryst <cd...@gmail.com> on 2014/05/05 19:08:15 UTC

Re: smtp option contentType=text/html has no effect

Hello, I know it's a little late for ask but I have this issue right now, I
have put trace on and I can see that the contentType header is set to
text/html and has not been overwritten.

One curious thing is that when I test it on development mode it sends the
email in the right format, but when I deploy it to production env it misses
the header, 

This is the header traced:

<code>
INFO  Tracer                         - xxxx-57685-1399307391691-0-2 >>>
(contactusPr) velocity://contactus/recevied.vm -->
smtp://my.mail.server?contentType=text%2Fhtml <<< Pattern:InOut,
Headers:{Connection=Keep-Alive, CamelServletContextPath=/contactus,
X-WebLogic-Request-ClusterInfo=true, Chronos=aggregate,
X-WebLogic-KeepAliveSecs=30, CamelHttpUri=/app/camel/contactus,
CamelHttpUrl=https://www.myserver.com:443/app/camel/contactus,
Accept-Language=es-ES,es;q=0.8,en-US;q=0.5,en;q=0.3, To=mail@domain.com,
User-Agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0)
Gecko/20100101 Firefox/28.0, param1=143570
</code>



--
View this message in context: http://camel.465427.n5.nabble.com/smtp-option-contentType-text-html-has-no-effect-tp5736951p5750879.html
Sent from the Camel - Users mailing list archive at Nabble.com.