camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reji Mathews <contactr...@gmail.com>
Subject Re: Mail-Component: HTML body is sent twice.
Date Thu, 01 Jan 2015 17:34:03 GMT
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" <jholmberg@part.net> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message