Commit 747c8a4a 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@9176 b35dd754-fafc-0310-a699-88a17e54d16e
parent 28fc2ded
...@@ -229,7 +229,7 @@ public class EmailService { ...@@ -229,7 +229,7 @@ public class EmailService {
} }
else if (htmlBody != null) { else if (htmlBody != null) {
MimeBodyPart bPart = new MimeBodyPart(); MimeBodyPart bPart = new MimeBodyPart();
bPart.setContent(htmlBody, "text/html"); bPart.setText(htmlBody, "UTF-8", "html");
bPart.setDisposition(Part.INLINE); bPart.setDisposition(Part.INLINE);
MimeMultipart mPart = new MimeMultipart(); MimeMultipart mPart = new MimeMultipart();
mPart.addBodyPart(bPart); 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