You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2009/03/31 07:26:00 UTC

Re: Sending a HTML Message with a Plain Text Alternative in Camel mail component?

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