jordan-wright / email

Robust and flexible email library for Go
MIT License
2.65k stars 321 forks source link

tls: first record does not look like a TLS handshake #112

Open watercraft opened 4 years ago

watercraft commented 4 years ago

Got "tls: first record does not look like a TLS handshake" trying to use SendWithTLS() My solution was to use net.Dial() instead of tls.Dial() inside this function. See my fork watercraft/email

Fank commented 4 years ago

Try to use the new SendWithStartTLS method which will use StartTLS instead of a TLS connection #87