fixed typo that wasn't allowing phpmailer to authenticate to smtp server when needed

This commit is contained in:
alpeb 2004-07-21 21:15:54 +00:00
parent 75c914ea31
commit efe5157b83

View File

@ -56,7 +56,7 @@ class send extends PHPMailer
$this->IsSmtp(); $this->IsSmtp();
$this->Host = $GLOBALS['phpgw_info']['server']['smtp_server']?$GLOBALS['phpgw_info']['server']['smtp_server']:'localhost'; $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->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->Username = $GLOBALS['phpgw_info']['server']['smtp_auth_user'];
$this->Password = $GLOBALS['phpgw_info']['server']['smtp_auth_passwd']; $this->Password = $GLOBALS['phpgw_info']['server']['smtp_auth_passwd'];