Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e248345 commit 887f27dCopy full SHA for 887f27d
src/Symfony/Component/Mailer/Transport/Smtp/Stream/AbstractStream.php
@@ -74,6 +74,9 @@ public function readLine(): string
74
if ($metas['timed_out']) {
75
throw new TransportException(sprintf('Connection to "%s" timed out.', $this->getReadConnectionDescription()));
76
}
77
+ if ($metas['eof']) {
78
+ throw new TransportException(sprintf('Connection to "%s" has been closed unexpectedly.', $this->getReadConnectionDescription()));
79
+ }
80
81
82
return $line;
0 commit comments