Skip to content

Commit

Permalink
typo [Closes #85]
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jun 2, 2021
1 parent fa85a33 commit d06b1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mail/SmtpMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ protected function connect(): void
$this->write("EHLO $this->clientHost");
$ehloResponse = $this->read();
if ((int) $ehloResponse !== 250) {
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));
}

} else {
Expand Down

0 comments on commit d06b1a1

Please sign in to comment.