go-gomail / gomail

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

How to send emails using SSL encryption or TLS encryption #185

Open hell0w0orld opened 12 months ago

wneessen commented 8 months ago

SSL is automatically enabled when the server port 465 is used. TLS is controled via the TLSConfig struct field. In any case this packages seems to be not actively maintained anymore. I suggest you switch to something else. go-mail has dedicated Client options to enable TLS or SSL