[Vtigercrm-commits] [vtiger-commits] r10797 - /vtigercrm/branches/5.0.3/modules/Emails/mail.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 27 05:27:09 EDT 2007
Author: richie
Date: Fri Apr 27 03:26:31 2007
New Revision: 10797
Log:
patch integrated. Fixes #3085 --minnie
Modified:
vtigercrm/branches/5.0.3/modules/Emails/mail.php
Modified: vtigercrm/branches/5.0.3/modules/Emails/mail.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Emails/mail.php (original)
+++ vtigercrm/branches/5.0.3/modules/Emails/mail.php Fri Apr 27 03:26:31 2007
@@ -203,8 +203,9 @@
$smtp_auth = $adb->query_result($res,0,'smtp_auth');
$adb->println("Mail server name,username & password => '".$server."','".$username."','".$password."'");
-
- $mail->SMTPAuth = $smtp_auth; // turn on SMTP authentication
+ if($smtp_auth == "true"){
+ $mail->SMTPAuth = true; // turn on SMTP authentication
+ }
$mail->Host = $server; // specify main and backup server
$mail->Username = $username ; // SMTP username
$mail->Password = $password ; // SMTP password
More information about the vtigercrm-commits
mailing list