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:
parent
bacea50485
commit
64e0832b85
1 changed files with 3 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue