forked from extern/egroupware
fixed typo that wasn't allowing phpmailer to authenticate to smtp server when needed
This commit is contained in:
parent
75c914ea31
commit
efe5157b83
@ -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'];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user