Update plugin.commentcenter.php
Fixes #211 An email notification is now sent when there is a new comment to approve and when the subject in the email header contains umlauts.
This commit is contained in:
parent
b60a51cf92
commit
e785ea184e
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user