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 fa85a33 commit d06b1a1Copy full SHA for d06b1a1
src/Mail/SmtpMailer.php
@@ -178,7 +178,7 @@ protected function connect(): void
178
$this->write("EHLO $this->clientHost");
179
$ehloResponse = $this->read();
180
if ((int) $ehloResponse !== 250) {
181
- throw new SmtpException('SMTP server did not accept EHLO with error: ' . trim($response));
+ throw new SmtpException('SMTP server did not accept EHLO with error: ' . trim($ehloResponse));
182
}
183
184
} else {
0 commit comments