[Vtigercrm-commits] [vtiger-commits] r10320 - /vtigercrm/branches/5.0.3/modules/Settings/EmailConfig.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Mar 2 04:09:31 EST 2007


Author: richie
Date: Fri Mar  2 02:09:20 2007
New Revision: 10320

Log:
fixes #3051

Modified:
    vtigercrm/branches/5.0.3/modules/Settings/EmailConfig.php

Modified: vtigercrm/branches/5.0.3/modules/Settings/EmailConfig.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/EmailConfig.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/EmailConfig.php Fri Mar  2 02:09:20 2007
@@ -19,9 +19,10 @@
 {
         require_once("modules/Emails/mail.php");
         $error_msg = strip_tags(parseEmailErrorString($_REQUEST['mail_error']));
-	if(strstr($error_msg,"Please check the assigned to user email id"))
-		$error_msg = "Mail could not be sent to the admin user. Please check the admin user email id.";
-	$smarty->assign("ERROR_MSG",'<b><font color="red">Test Mail status : '.$error_msg.'</font></b>');
+	//if(strstr($error_msg,"Please check the assigned to user email id"))
+	if(strstr($error_msg,$mod_strings['LBL_CHECK_ASSIGNEDTO_MAILID']))
+		$error_msg = $mod_strings['LBL.MAILSENDERROR'];
+	$smarty->assign("ERROR_MSG",$mod_strings['LBL_TESTMAILSTATUS'].' <b><font color=red>     '.$error_msg.'</font></b>');
 }
 
 global $adb;





More information about the vtigercrm-commits mailing list