Adds UTF-8 charset to emails
This commit is contained in:
parent
8660ed91eb
commit
950aecf7ab
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ public class MailUtil {
|
|||
msg.setSubject( subject );
|
||||
|
||||
// add the multipart to the message
|
||||
msg.setContent(messageText,"text/html");
|
||||
msg.setContent(messageText,"text/html; charset=UTF-8");
|
||||
|
||||
// set the Date: header
|
||||
msg.setSentDate( new Date() );
|
||||
|
|
Loading…
Add table
Reference in a new issue