Commit 963255bf authored by Derek DeMoro's avatar Derek DeMoro Committed by derek

Update to support Unicode in EmailService with html messages.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches/3_3_1_branch@9176 b35dd754-fafc-0310-a699-88a17e54d16e
parent d4719e46
......@@ -229,7 +229,7 @@ public class EmailService {
}
else if (htmlBody != null) {
MimeBodyPart bPart = new MimeBodyPart();
bPart.setContent(htmlBody, "text/html");
bPart.setText(htmlBody, "UTF-8", "html");
bPart.setDisposition(Part.INLINE);
MimeMultipart mPart = new MimeMultipart();
mPart.addBodyPart(bPart);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment