From 91038719d8210b15c07a11753504e2bdabcd975b Mon Sep 17 00:00:00 2001 From: shuhai Date: Thu, 16 Mar 2017 19:04:45 +0800 Subject: [PATCH] issues #350 Email encoding fixed. --- src/psm/Util/Server/Updater/StatusNotifier.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/psm/Util/Server/Updater/StatusNotifier.php b/src/psm/Util/Server/Updater/StatusNotifier.php index 0edfde98..b4cd8a68 100755 --- a/src/psm/Util/Server/Updater/StatusNotifier.php +++ b/src/psm/Util/Server/Updater/StatusNotifier.php @@ -200,11 +200,11 @@ class StatusNotifier { protected function notifyByEmail($users) { // build mail object with some default values $mail = psm_build_mail(); - $mail->Subject = utf8_decode(psm_parse_msg($this->status_new, 'email_subject', $this->server)); + $mail->Subject = psm_parse_msg($this->status_new, 'email_subject', $this->server); $mail->Priority = 1; $body = psm_parse_msg($this->status_new, 'email_body', $this->server); - $mail->Body = utf8_decode($body); + $mail->Body = $body; $mail->AltBody = str_replace('
', "\n", $body); if(psm_get_conf('log_email')) {