Hi all,

We have fixed a bug(maybe not bug fix but an improvement):
We used utf-8 encoding and found that the email title can be shown correctly
but the mail body failed with a lot of "?" characters.
The problem is due to EmailHelper class: JavaMail title is set to utf-8, but
the body/content is missing that.
To get the body of mail shown in utf-8, just change the source code(line
114):
msg.setContent(bodyMail, "text/html");
to
msg.setContent(bodyMail,"text/html;charset=utf-8")

and recompile it. Then replace the new EmailHelper.class
You could also change the freemarker email template file content with your
own language.
Hope it will be fixed in the next release.
The attachment is the class file.
Hope this can help non english speakers.

-- 


Best regards,
Xin

Attachment: EmailHelper.class
Description: Binary data

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to