jordan-wright / email

Robust and flexible email library for Go
MIT License
2.67k stars 323 forks source link

Connection-Timeout on Send #54

Open marczahn opened 7 years ago

marczahn commented 7 years ago

Hi,

I just found this library and it is great! Recently I ran into the problem that I used a wrong smtp host and the application stucked. Is there a possibility to set a connection timout on an email or globally?

dkull commented 5 years ago

Got hit by this too - the Send function never returns an error if the host:port combo is not listening.

xhit commented 4 years ago

Added in go-simple-mail https://github.com/xhit/go-simple-mail