Keep only those values in headers which u wanna allow them to pass to next
component like smtp with mapMailMessage option or pass the values even to
the next system via producer endpoints.

Else its always better practice to store them in exchange properties.

Cheers
Reji
On 01/01/2015 10:27 pm, "Jason Holmberg" <[email protected]> wrote:

> It has been my experience that the Mail component will try to add all
> headers
> in the headers map as email headers.  I generally remove any unnecessary
> headers from the org.apache.camel.Message before invoking the Mail
> component.
>
> -Jason
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Mail-Component-HTML-body-is-sent-twice-tp5761124p5761206.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to