mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-03 09:39:38 +00:00
use UTF-8 encoding for plain-text e-mail sending
This commit is contained in:
1 parent
e7b211607b
commit
ddba4fa9ae
1 file changed
+1
-1
@@ -125,7 +125,7 @@ public class MailServiceImpl extends AbstractReplicableWithObjectInputStream<Rep
|
||||
internalSendMail(toAddress, subject, new ContentSetter() {
|
||||
@Override
|
||||
public void setContent(MimeMessage msg) throws MessagingException {
|
||||
msg.setContent(body, "text/plain");
|
||||
msg.setContent(body, "text/plain; charset=UTF-8");
|
||||
}
|
||||
});
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user