From decd49bff622a7a55ea25b1bc1035109c8659bfc Mon Sep 17 00:00:00 2001 From: Ruben Estrada <rulotec1@gmail.com> Date: Fri, 13 Dec 2019 13:45:28 -0600 Subject: [PATCH] #1227 sets phpmailer encoding to the encoding specified in config.inc.php when creating new instance of Vtiger_Mailer --- vtlib/Vtiger/Mailer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vtlib/Vtiger/Mailer.php b/vtlib/Vtiger/Mailer.php index 5794309bc..cd26d3c34 100644 --- a/vtlib/Vtiger/Mailer.php +++ b/vtlib/Vtiger/Mailer.php @@ -27,8 +27,10 @@ class Vtiger_Mailer extends PHPMailer { * Constructor */ function __construct() { + global $default_charset; parent::__construct(); $this->initialize(); + $this->CharSet = $default_charset; } /** -- GitLab