StartTLSPolicy type

La configuración StartTLSPolicy de la configuración SMTP https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy
KnownStartTLSPolicy se puede usar indistintamente con StartTLSPolicy, esta enumeración contiene los valores conocidos que admite el servicio.

Valores conocidos admitidos por el servicio

oportunistaStartTLS
MandatoryStartTLS
NoStartTLS

type StartTLSPolicy = string