diff options
| author | Manuel Nuñez <10672208+mind-ar@users.noreply.github.com> | 2022-10-01 23:51:19 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-02 13:51:19 +1100 |
| commit | c8fa19e6bd2b6b1c1ebe8ba32f06d85ffff6d2ef (patch) | |
| tree | 14638e122d3c4007447cc461da0ddad47dba8406 /internal/configuration/schema/notifier.go | |
| parent | 6810c91d34fe1610d65725d62c5da4a17f4674e3 (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.go | 1 |
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"` } |
