Skip to content

Commit 9950f20

Browse files
joachimnielandtfxprunayre
authored andcommitted
fixed utf-8 for sent mails
1 parent 40e522f commit 9950f20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/java/org/fao/geonet/util/MailUtil.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,8 @@ private static void configureBasics(String hostName, Integer smtpPort,
378378
}
379379
}
380380

381+
email.setCharset(EmailConstants.UTF_8);
382+
381383
if (ignoreSslCertificateErrors != null && ignoreSslCertificateErrors) {
382384
try {
383385
email.setSSLCheckServerIdentity(false);

0 commit comments

Comments
 (0)