go-gomail / gomail

The best way to send emails in Go.
MIT License
4.32k stars 572 forks source link

Allow timeout in connections, retries to be configurable #70

Open connor4312 opened 7 years ago

connor4312 commented 7 years ago

Previously if connections were unhealthy they could easily block up work, and there was no way to set read/write deadlines. This PR fixes that by adding a Timeout property on the Dialer, which is used for both the initial connection establishment and subsequent Send calls.

pedromorgan commented 6 years ago

@connor4312 Any chance u can make a PR against the fork (WIP)

https://github.com/go-mail/gomail