From 6de62babae6cb29873d6f4430c879b4651db4ed4 Mon Sep 17 00:00:00 2001 From: prasad <prasad@vtiger.com> Date: Sun, 11 Feb 2018 15:56:06 +0530 Subject: [PATCH] Fixes #155: Overcome too short timeout of mailer --- vtlib/Vtiger/Mailer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vtlib/Vtiger/Mailer.php b/vtlib/Vtiger/Mailer.php index 7341840a1..3c69bc872 100644 --- a/vtlib/Vtiger/Mailer.php +++ b/vtlib/Vtiger/Mailer.php @@ -26,6 +26,7 @@ class Vtiger_Mailer extends PHPMailer { * Constructor */ function __construct() { + parent::__construct(); $this->initialize(); } @@ -43,6 +44,7 @@ class Vtiger_Mailer extends PHPMailer { * @access private */ function initialize() { + $this->Timeout = 30; /* Issue #155: to allow anti-spam tech be successful */ $this->IsSMTP(); global $adb; -- GitLab