diff --git a/plugins/notifications/email/main.go b/plugins/notifications/email/main.go index 9bda04b31..31ceba5bc 100644 --- a/plugins/notifications/email/main.go +++ b/plugins/notifications/email/main.go @@ -27,8 +27,9 @@ var AuthStringToType map[string]mail.AuthType = map[string]mail.AuthType{ } var EncryptionStringToType map[string]mail.Encryption = map[string]mail.Encryption{ - "ssltls": mail.EncryptionSTARTTLS, - "none": mail.EncryptionNone, + "ssltls": mail.EncryptionSSLTLS, + "starttls": mail.EncryptionSTARTTLS, + "none": mail.EncryptionNone, } type PluginConfig struct {