domodwyer / mailyak

An elegant MIME/SMTP email library with support for attachments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TLS?

kregan77 opened this issue · comments

Do you have plans to add support for smtp.StartTls and tls.Config?

commented

Hey @kregan77

The client should use TLS if the endpoint is TLS enabled (excluding StartTLS, which you probably don't want to use).

Supporting custom tls.Config would be pretty neat for users running a private CA internally - it would have to be backwards compatible though - perhaps a NewWithTLS() constructor?

Dom