From a7a409f7f34c203f9cb2216036fad76af9b51232 Mon Sep 17 00:00:00 2001 From: Uma <uma.s@vtiger.com> Date: Thu, 9 Jan 2020 05:12:27 +0530 Subject: [PATCH] Fixes #1227 phpMailer updated for UTF-8 default encoding --- modules/Emails/class.phpmailer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/Emails/class.phpmailer.php b/modules/Emails/class.phpmailer.php index 12a958757..bdc699e1f 100755 --- a/modules/Emails/class.phpmailer.php +++ b/modules/Emails/class.phpmailer.php @@ -656,6 +656,8 @@ class PHPMailer */ public function __construct($exceptions = null) { + global $default_charset; + $this->CharSet = $default_charset; if ($exceptions !== null) { $this->exceptions = (boolean)$exceptions; } -- GitLab