-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use HELLO as fallback of EHLO when server responds with 421
Change inspired by PHPMailer/PHPMailer#2189 RFC 1869 section 4.5 states that the server will return the code 421 if the SMTP server is no longer available This change fixes an issue where the actual error response from a failed EHLO was not surfaced due to always being overridden by the HELLO response.
- Loading branch information
Showing
2 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters