Hi, When the methods convertJBIToMail() or convertMailToJBI() from the DefaultMailMarshaler are call, the first thing that they do is do copy mail headers or fill mail headers.
For example, when you use the servicemix-mail component to send an e-mail (using the sender endpoint), the component uses the convertJBIToMail() method from the DefaultMailMarshaler. This convertJBIToMail() method first calls the fillMailHeaders() method. It's like this that the mail recipients are populated (using the <to/> tag of the incoming message). The list of incoming tags supported are defined in the AbstractMailMarshaler. By default, the mail charset encoding can't be specified in the DefaultMailMarshaler. Nevertheless, you can define your own marshaler (that extend the DefaultMailMarshaler) to "force" the mail charset encoding. On the other hand, you can raise a Jira to add an improvement request. Regards JB On Sunday 01 March 2009 - 07:29, larjohn wrote: > > Is there any way to set the character set to unicode in a mail sent by the > Servicemix-mail component? > > Thank you > -- > View this message in context: > http://www.nabble.com/Servicemix-mail-content-type-header-tp22274083p22274083.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > -- Jean-Baptiste Onofré --------------------------------- HomePage http://www.nanthrax.net --------------------------------- Contacts [email protected] [email protected] --------------------------------- OpenSource BuildProcess/AutoDeploy http://buildprocess.sourceforge.net Apache ServiceMix http://servicemix.apache.org ----------------------------------- PGP : 17D4F086
