You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Ryan Gardner <ry...@gmail.com> on 2009/03/31 05:50:12 UTC
Sending a HTML Message with a Plain Text Alternative in Camel mail component?
Is it possible to send a combined MIME / HTML email (with attachments)
using the mail component?
Ryan
Re: Sending a HTML Message with a Plain Text Alternative in Camel
mail component?
Posted by Claus Ibsen <cl...@gmail.com>.
On Tue, Mar 31, 2009 at 5:50 AM, Ryan Gardner <ry...@gmail.com> wrote:
> Is it possible to send a combined MIME / HTML email (with attachments) using
> the mail component?
Why not give it a try?
The option contentType should be set to: text/html for html mails. And
then use the Exchange addAttachment to add the attachment.
>
> Ryan
>
--
Claus Ibsen
Apache Camel Committer
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus