Adds UTF-8 charset to emails
This commit is contained in:
parent
3fb5f80119
commit
074d9f98cf
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ public class MailUsersServlet extends VitroHttpServlet {
|
||||||
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