Merge pull request #212 from Fraenkiman/upstream/issue211

Update plugin.commentcenter.php
This commit is contained in:
Arvid Zimmermann 2023-03-05 13:16:49 +01:00 committed by GitHub
commit b9c59fa775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -438,7 +438,8 @@ class plugin_commentcenter {
$fp_config ['general'] ['title']
), $text);
return @utils_mail($from_mail, $subject, $text);
// for non-ASCII characters in the e-mail header use RFC 1342 — Encodes data with MIME base64
return @utils_mail($from_mail, '=?utf-8?B?' . base64_encode($subject) . '?=', $text);
}
}