From c3032dad899cedc88984f64711c5849942101305 Mon Sep 17 00:00:00 2001 From: Aldrich Prawira Date: Wed, 29 Jun 2016 15:05:09 +0800 Subject: [PATCH] restored original class.phpmailer.php to fix outgoing email functionality --- modules/Emails/class.phpmailer.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/Emails/class.phpmailer.php b/modules/Emails/class.phpmailer.php index b6b99c3..96ca3ab 100755 --- a/modules/Emails/class.phpmailer.php +++ b/modules/Emails/class.phpmailer.php @@ -599,11 +599,7 @@ public function IsHTML($ishtml = true) { * @return void */ public function IsSMTP() { - if($this->Host == 'localhost') { - $this->IsSendmail(); - } else { - $this->Mailer = 'smtp'; - } + $this->Mailer = 'smtp'; } /**