Revision: 20884
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20884
Author:   sigurdne
Date:     2009-11-22 20:38:27 +0000 (Sun, 22 Nov 2009)
Log Message:
-----------
allow smtp auth, ssl and tls as SMTPSecure

Modified Paths:
--------------
    people/sigurdne/modules/phpgwapi/trunk/inc/class.mailer_smtp.inc.php

Modified: people/sigurdne/modules/phpgwapi/trunk/inc/class.mailer_smtp.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/class.mailer_smtp.inc.php        
2009-11-22 20:31:24 UTC (rev 20883)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/class.mailer_smtp.inc.php        
2009-11-22 20:38:27 UTC (rev 20884)
@@ -31,6 +31,10 @@
                        $this->IsSMTP(true);
                        $this->Host = 
$GLOBALS['phpgw_info']['server']['smtp_server'];
                        $this->Port = 
isset($GLOBALS['phpgw_info']['server']['smtp_port']) ? 
$GLOBALS['phpgw_info']['server']['smtp_port'] : 25;
+                       $this->SMTPAuth = 
isset($GLOBALS['phpgw_info']['server']['smtpAuth']) && 
$GLOBALS['phpgw_info']['server']['smtpAuth'] == yes ? true : false;
+                       $this->SMTPSecure = 
isset($GLOBALS['phpgw_info']['server']['smtpSecure']) ? 
$GLOBALS['phpgw_info']['server']['smtpSecure'] : '';
+                       $this->Username = 
isset($GLOBALS['phpgw_info']['server']['smtpUser']) ? 
$GLOBALS['phpgw_info']['server']['smtpUser'] : '';
+                       $this->Password =  
isset($GLOBALS['phpgw_info']['server']['smtpPassword']) ? 
$GLOBALS['phpgw_info']['server']['smtpPassword'] : '';
                        $this->Version = 'custom - phpGroupWare 1.73';
                }
        }



_______________________________________________
phpGroupWare-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs

Reply via email to