8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0bf853 commit 976eea3Copy full SHA for 976eea3
src/Symfony/Component/Mailer/Transport/Smtp/EsmtpTransport.php
@@ -166,7 +166,11 @@ private function handleAuth(array $modes): void
166
167
return;
168
} catch (TransportExceptionInterface $e) {
169
- $this->executeCommand("RSET\r\n", [250]);
+ try {
170
+ $this->executeCommand("RSET\r\n", [250]);
171
+ } catch (TransportExceptionInterface $_) {
172
+ // ignore this exception as it probably means that the server error was final
173
+ }
174
175
// keep the error message, but tries the other authenticators
176
$errors[$authenticator->getAuthKeyword()] = $e;
0 commit comments