[Vtigercrm-developers] Outgoing server vt6.1
Prasad
prasad at vtiger.com
Mon Oct 20 17:02:12 GMT 2014
Does this help -
http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8297#comment:5
*Connect with us on: *Twitter <http://twitter.com/vtigercrm> *I* Facebook
<http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *I* Blog
<https://blogs.vtiger.com/>* I* Wiki
<http://wiki.vtiger.com/vtiger6/index.php/Main_Page> *I* Website
<https://www.vtiger.com/>
On Mon, Oct 20, 2014 at 7:11 PM, Alan Lord <alanslists at gmail.com> wrote:
> Think Alan Bell found it!
>
> In mail.php, around line 291 $smtp_auth is set to a pear db result object.
>
> else{
>> $smtp_auth = $adb->query_result($res,0,'smtp_auth');
>> if($smtp_auth == "1" || $smtp_auth == "true"){
>> $smtp_auth = true;
>> }
>> }
>>
>> $adb->println("Mail server name,username & password =>
>> '".$server."','".$username."','".$password."'");
>> if($smtp_auth){
>> $mail->SMTPAuth = true; // turn on SMTP authentication
>> }
>>
>
> After the $adb->println() call it is only being checked for not being
> false or null...
>
> Looks like there should be an else in that first test...
>
> So:
>
>> else{
>> $smtp_auth = $adb->query_result($res,0,'smtp_auth');
>> if($smtp_auth == "1" || $smtp_auth == "true"){
>> $smtp_auth = true;
>> } else {
>>
> $smtp_auth = false;
> }
>
>> }
>>
>
> ...
>
> And so on.
>
>
>
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141020/9153b5ea/attachment.html>
More information about the vtigercrm-developers
mailing list