From 5b6d17c9b9cc1b9993cf52f12c046e01a75d2ffe Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Thu, 24 Oct 2024 15:52:14 -0400 Subject: [PATCH] Add SMTP configuration values Ref T905 --- config/config.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/config.go b/config/config.go index 1afd5f3..17d34c8 100644 --- a/config/config.go +++ b/config/config.go @@ -171,6 +171,14 @@ type ( } EmailCfg struct { + // SMTP configuration values + Host string `ini:"smtp_host"` + Port int `ini:"smtp_port"` + Username string `ini:"smtp_username"` + Password string `ini:"smtp_password"` + EnableStartTLS bool `ini:"smtp_enable_start_tls"` + + // Mailgun configuration values Domain string `ini:"domain"` MailgunPrivate string `ini:"mailgun_private"` }