Adds UTF-8 charset to emails

This commit is contained in:
Ariel D. Moya Sequeira 2016-01-08 10:04:35 -06:00 committed by Graham Triggs
parent 3fb5f80119
commit 074d9f98cf

View file

@ -171,7 +171,7 @@ public class MailUsersServlet extends VitroHttpServlet {
msg.setSubject( deliveryfrom );
// add the multipart to the message
msg.setContent(msgText,"text/html");
msg.setContent(msgText,"text/html; charset=UTF-8");
// set the Date: header
msg.setSentDate( new Date() );