Adds UTF-8 charset to emails

This commit is contained in:
Ariel D. Moya Sequeira 2016-01-08 10:05:28 -06:00 committed by Graham Triggs
parent 074d9f98cf
commit 9a2cc3a9cc

View file

@ -276,7 +276,7 @@ public class ContactMailController extends FreemarkerHttpServlet {
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() );