Adds UTF-8 charset to emails
This commit is contained in:
parent
074d9f98cf
commit
9a2cc3a9cc
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ public class ContactMailController extends FreemarkerHttpServlet {
|
||||||
msg.setSubject( deliveryfrom );
|
msg.setSubject( deliveryfrom );
|
||||||
|
|
||||||
// add the multipart to the message
|
// add the multipart to the message
|
||||||
msg.setContent(msgText,"text/html");
|
msg.setContent(msgText,"text/html; charset=UTF-8");
|
||||||
|
|
||||||
// set the Date: header
|
// set the Date: header
|
||||||
msg.setSentDate( new Date() );
|
msg.setSentDate( new Date() );
|
||||||
|
|
Loading…
Add table
Reference in a new issue