esmtp error not being thrown properly
This commit is contained in:
parent
f0bf853a86
commit
976eea3be0
@ -166,7 +166,11 @@ class EsmtpTransport extends SmtpTransport
|
||||
|
||||
return;
|
||||
} catch (TransportExceptionInterface $e) {
|
||||
try {
|
||||
$this->executeCommand("RSET\r\n", [250]);
|
||||
} catch (TransportExceptionInterface $_) {
|
||||
// ignore this exception as it probably means that the server error was final
|
||||
}
|
||||
|
||||
// keep the error message, but tries the other authenticators
|
||||
$errors[$authenticator->getAuthKeyword()] = $e;
|
||||
|
Reference in New Issue
Block a user