From 3b5e62947d1fdb21fbc889dbc55bfcbf4e5a9b1b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 20 Oct 2019 13:44:28 +0200 Subject: [PATCH] Update smtps.class.php --- htdocs/core/class/smtps.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/class/smtps.class.php b/htdocs/core/class/smtps.class.php index e8016b4bcfc..0c2a35f9f3f 100644 --- a/htdocs/core/class/smtps.class.php +++ b/htdocs/core/class/smtps.class.php @@ -514,8 +514,9 @@ class SMTPs $_retVal = $this->socket_send_str(base64_encode($this->_smtpsPW), '235'); break; } - if(!$_retVal) + if (! $_retVal) { $this->_setErr(130, 'Invalid Authentication Credentials.'); + } } else {