Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #35633 [Mailer] Do not ping the SMTP server before sending every …
…message (micheh) This PR was squashed before being merged into the 4.4 branch (closes #35633). Discussion ---------- [Mailer] Do not ping the SMTP server before sending every message | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #35515 | License | MIT This pull request changes the SMTP transport to only ping the server if the last message was sent more than a specified number of seconds ago (instead of pinging the server before every message). By default, it will ping the server if 100 or more seconds since the last message have passed. This should make sending emails with the SMTP transport more robust with many emails, as SMTP servers will often drop the connection if too many non-mail commands are sent (like pinging the server with NOOP commands). Commits ------- 2817810 [Mailer] Do not ping the SMTP server before sending every message
- Loading branch information
Showing
2 changed files
with
126 additions
and
1 deletion.
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