From 4e765c1ccae3139964b01ac3f3649e273a9be13c Mon Sep 17 00:00:00 2001 From: Uma <uma.s@vtiger.com> Date: Mon, 13 Jul 2020 17:25:30 +0530 Subject: [PATCH] Fixes Outgoing server setup issue --- modules/Emails/mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Emails/mail.php b/modules/Emails/mail.php index e6b59c7c5..5824fbdb7 100755 --- a/modules/Emails/mail.php +++ b/modules/Emails/mail.php @@ -494,7 +494,7 @@ function getMailError($mail,$mail_status,$to) global $adb; $adb->println("Inside the function getMailError"); - $msg = array_search($mail_status,$mail->language); + $msg = array_search($mail_status,$mail->getTranslations()); $adb->println("Error message ==> ".$msg); if($msg == 'connect_host') -- GitLab