fix the ssltls by actually doing ssltls.
BEWARE: THIS IS A BREAKING CHANGE
@@ -27,7 +27,8 @@ var AuthStringToType map[string]mail.AuthType = map[string]mail.AuthType{
}
var EncryptionStringToType map[string]mail.Encryption = map[string]mail.Encryption{
- "ssltls": mail.EncryptionSTARTTLS,
+ "ssltls": mail.EncryptionSSLTLS,
+ "starttls": mail.EncryptionSTARTTLS,
"none": mail.EncryptionNone,
}
