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
