camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mattias Severson <mat...@gmail.com>
Subject Re: Email character encoding?
Date Fri, 25 Jun 2010 09:11:37 GMT

Thanks for the tip. I am currently on a "long-weekend" vacation, but I will
try when I return to work. 

Do I have create a Process in order to set the Exhange.CHARSET_NAME on the
exchange is i possible to take a shortcut and add it to the camel email
headers directly, e.g.

Map<String, Object> camelEmailHeaders = new HashMap<String, Object>();
camelEmailHeaders.put(Exchange.CHARSET_NAME, "ISO-8859-1");
// add more email headers...
producerTemplate.sendBodyAndHeaders(emailRecipientUri, emailBody,
camelEmailHeaders); 

/Mattias
-- 
View this message in context: http://camel.465427.n5.nabble.com/Email-character-encoding-tp510814p511274.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message