Thanks guys, setting the content type to text/plain did the trick.
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-mail-Body-ends-up-as-attachment-instead-of-e-mail-body-in-multipart-mail-tp5789939p5790037.html
Sent from the Camel - Users mailing list archive at
in.setBody("Hello");
}
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-mail-Body-ends-up-as-attachment-instead-of-e-mail-body-in-multipart-mail-tp5789939p5790006.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ntext:
http://camel.465427.n5.nabble.com/camel-mail-Body-ends-up-as-attachment-instead-of-e-mail-body-in-multipart-mail-tp5789939p5790005.html
Sent from the Camel - Users mailing list archive at Nabble.com.
> http://camel.465427.n5.nabble.com/camel-mail-Body-ends-up-as-attachment-instead-of-e-mail-body-in-multipart-mail-tp5789939p5789989.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
I'm using 2.17.3. I guess I could try 2.18.0.
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-mail-Body-ends-up-as-attachment-instead-of-e-mail-body-in-multipart-mail-tp5789939p5789989.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ello");
> }
>
> })
>
> .to("smtp:xxx?to=x...@xxx.com,andreasasm...@gmail.com&from=nore...@xxx.dk&subject=Your
> report")
> .setBody(simple("${property.originalBody}"));
>
>
>
> --
> View this me
t;));
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-mail-Body-ends-up-as-attachment-instead-of-e-mail-body-in-multipart-mail-tp5789939.html
Sent from the Camel - Users mailing list archive at Nabble.com.