Maybe there is a header with key contentType or Content-Type etc that
would override the endpoint configuration.

I suggest to check for that. You can use the tracer to see the message
as its routed in Camel etc.
http://camel.apache.org/tracer

On Wed, Aug 7, 2013 at 10:32 PM, Hilderich <hilde.sch...@yahoo.de> wrote:
> Hello folks!
>
> We are using Camel 2.10.4.
>
> Before sending an email I create the html email message via Apache Velocity.
> The smtp component
> has the option contentType and that's why I have set it to "text/html".
> However this configuration
> has no effect and I receive the email as plain text.
> After I have explicit changed the exchange header Exchange.CONTENT_TYPE to
> "text/html" it is working.
>
> Has anybody the knowledge why?
>
> Cheers
> Hilderich
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/smtp-option-contentType-text-html-has-no-effect-tp5736951.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to