[Vtigercrm-commits] [vtiger-commits] r7833 - /vtigercrm/trunk/modules/Settings/EmailConfig.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jul 5 04:10:10 EDT 2006
Author: saraj
Date: Wed Jul 5 02:10:07 2006
New Revision: 7833
Log:
* Modified the error message
Modified:
vtigercrm/trunk/modules/Settings/EmailConfig.php
Modified: vtigercrm/trunk/modules/Settings/EmailConfig.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/EmailConfig.php (original)
+++ vtigercrm/trunk/modules/Settings/EmailConfig.php Wed Jul 5 02:10:07 2006
@@ -19,7 +19,9 @@
{
require_once("modules/Emails/mail.php");
$error_msg = strip_tags(parseEmailErrorString($_REQUEST['mail_error']));
- $smarty->assign("ERROR_MSG",'<b><font color="purple">Test Mail status : '.$error_msg.'</font></b>');
+ 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>');
}
global $adb;
More information about the vtigercrm-commits
mailing list