From efe5157b83fb05c7c1d11fcfcc677084293f2e09 Mon Sep 17 00:00:00 2001 From: alpeb Date: Wed, 21 Jul 2004 21:15:54 +0000 Subject: [PATCH] fixed typo that wasn't allowing phpmailer to authenticate to smtp server when needed --- phpgwapi/inc/class.send.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.send.inc.php b/phpgwapi/inc/class.send.inc.php index bbaff13cac..69841024c0 100644 --- a/phpgwapi/inc/class.send.inc.php +++ b/phpgwapi/inc/class.send.inc.php @@ -56,7 +56,7 @@ class send extends PHPMailer $this->IsSmtp(); $this->Host = $GLOBALS['phpgw_info']['server']['smtp_server']?$GLOBALS['phpgw_info']['server']['smtp_server']:'localhost'; $this->Port = $GLOBALS['phpgw_info']['server']['smtp_port']?$GLOBALS['phpgw_info']['server']['smtp_port']:25; - $this->SMPTAuth = !empty($GLOBALS['phpgw_info']['server']['smtp_auth_user']); + $this->SMTPAuth = !empty($GLOBALS['phpgw_info']['server']['smtp_auth_user']); $this->Username = $GLOBALS['phpgw_info']['server']['smtp_auth_user']; $this->Password = $GLOBALS['phpgw_info']['server']['smtp_auth_passwd'];