On Wed, Jun 23, 2010 at 8:16 AM, Mattias Severson <[email protected]> wrote: > > Hi, > > I am having trouble sending ISO-8859-1 characters, e.g. åäö, in emails. I > have tried to set the defaultEncoding option of the > http://camel.apache.org/mail.html Camel Mail component to ISO-8859-1, but > that did not solve the problem.
Where is the problem in the mail? - the subject - the mail body And are you sending plain/txt mails or something like xml or html? I assume you see the character problems using a mail client which receives the email? eg Outlook or the likes? You can enable some java mail debug (debugMode=true) and you should be able to see the actual mail message being send to the mail server. > > The sender is implemented as > > producerTemplate.sendBodyAndHeaders(emailRecipientUri, emailBody, > camelEmailHeaders); > > and I am using Camel 2.3.0 > > Any ideas? > > /Mattias > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Email-character-encoding-tp510814p510814.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
