Different charset in mail

[email protected]
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <OF3DAD83F5.EEB2FC4D-ONC1257106.00473DFB-C1257106.00473E01@generic.se>
We are using the Jahia Mailservice Component from within a template (jsp). Everything worked fine until a receiver using MS Exchange mail server told us that the mail server refuses to receive the mails because of the header: Content-Type : text/plain; charset=Cp1252

We have to elaborate with alternative charsets to find one that is accepted by MS Exchange?!?!?! (and hopefully all other mail servers to).

I can use the javax/mail API and do this but I want to pick up the mailhost from Jahia and that property is private in the Jahia Mailservice Component.

My plan is to try to use the JahiaData, ParamBean and SettingsBean which are request attributes and get the mailhost field.

My question is if somebody have had the same problem and came up with another solution?

regards

/Lars Hagrot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.