Skip to content

reconnect for each mail #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed

reconnect for each mail #1

wants to merge 8 commits into from

Conversation

cryptix
Copy link
Contributor

@cryptix cryptix commented Oct 13, 2017

With the sender dialing once in the config, the dialed connection might get closed at any time leading to the following error when qor tries to use it later.

gomail: could not send email 1: write tcp $from->$to: write: broken pipe

A better approach for high load might be keep the sender and use a ping-like smtp command before sending an email and re-dial then on error.

@cryptix cryptix mentioned this pull request Nov 12, 2017
@cryptix
Copy link
Contributor Author

cryptix commented Aug 17, 2018

Wish I noticed this earlier but 0555e49 is not a fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant