fix the ssltls by actually doing ssltls. (#1672)

BEWARE: THIS IS A BREAKING CHANGE

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
This commit is contained in:
Manuel Sabban 2022-08-26 16:49:31 +02:00 committed by GitHub
parent bacea50485
commit 64e0832b85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,8 +27,9 @@ var AuthStringToType map[string]mail.AuthType = map[string]mail.AuthType{
} }
var EncryptionStringToType map[string]mail.Encryption = map[string]mail.Encryption{ var EncryptionStringToType map[string]mail.Encryption = map[string]mail.Encryption{
"ssltls": mail.EncryptionSTARTTLS, "ssltls": mail.EncryptionSSLTLS,
"none": mail.EncryptionNone, "starttls": mail.EncryptionSTARTTLS,
"none": mail.EncryptionNone,
} }
type PluginConfig struct { type PluginConfig struct {