I made some modifications to my code.
(1) I added alternativeBodyHeader=CamelMailAlternativeBody to:
<endpoint id="smtpServer" uri="smtp:// ...
alternativeBodyHeader=CamelMailAlternativeBody" />
and then
(2) I changed:
<setHeader headerName="alternativeBodyHeader">
<method bean="eDeliveryProcessor"
method="plainTemplateAsString"/>
</setHeader>
to
<setHeader headerName="CamelMailAlternativeBody">
<method bean="eDeliveryProcessor"
method="plainTemplateAsString"/>
</setHeader>
But I'm still not successfully sending out the correct template in the
email...
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-the-alternativeBodyHeader-tp5768828p5768931.html
Sent from the Camel - Users mailing list archive at Nabble.com.