Update smtps.class.php

This commit is contained in:
Laurent Destailleur 2019-10-20 13:44:28 +02:00 committed by GitHub
parent 88100a53aa
commit 3b5e62947d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -514,9 +514,10 @@ class SMTPs
$_retVal = $this->socket_send_str(base64_encode($this->_smtpsPW), '235'); $_retVal = $this->socket_send_str(base64_encode($this->_smtpsPW), '235');
break; break;
} }
if(!$_retVal) if (! $_retVal) {
$this->_setErr(130, 'Invalid Authentication Credentials.'); $this->_setErr(130, 'Invalid Authentication Credentials.');
} }
}
else else
{ {
$this->_setErr(126, '"' . $host . '" does not support authenticated connections.'); $this->_setErr(126, '"' . $host . '" does not support authenticated connections.');