use UTF-8 encoding for plain-text e-mail sending

This commit is contained in:
Axel Uhl committed 2024-02-22 14:47:14 +01:00
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;