summaryrefslogtreecommitdiff
path: root/internal/configuration/schema/notifier.go
diff options
context:
space:
mode:
authorManuel Nuñez <10672208+mind-ar@users.noreply.github.com>2022-10-01 23:51:19 -0300
committerGitHub <noreply@github.com>2022-10-02 13:51:19 +1100
commitc8fa19e6bd2b6b1c1ebe8ba32f06d85ffff6d2ef (patch)
tree14638e122d3c4007447cc461da0ddad47dba8406 /internal/configuration/schema/notifier.go
parent6810c91d34fe1610d65725d62c5da4a17f4674e3 (diff)
feat(notification): add disable_starttls option (#3855)
This adds a boolean option to SMTP which disables StartTLS for SMTP servers that ignore standards.
Diffstat (limited to 'internal/configuration/schema/notifier.go')
-rw-r--r--internal/configuration/schema/notifier.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/configuration/schema/notifier.go b/internal/configuration/schema/notifier.go
index 00c45e8f7..159a90dea 100644
--- a/internal/configuration/schema/notifier.go
+++ b/internal/configuration/schema/notifier.go
@@ -23,6 +23,7 @@ type SMTPNotifierConfiguration struct {
StartupCheckAddress mail.Address `koanf:"startup_check_address"`
DisableRequireTLS bool `koanf:"disable_require_tls"`
DisableHTMLEmails bool `koanf:"disable_html_emails"`
+ DisableStartTLS bool `koanf:"disable_starttls"`
TLS *TLSConfig `koanf:"tls"`
}