From 01e4fd482ebcc827d3c76c00910529abbf666454 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 14 Sep 2025 22:28:12 +0800 Subject: Add basic mailing lists --- forged/internal/unsorted/config.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'forged/internal/unsorted/config.go') diff --git a/forged/internal/unsorted/config.go b/forged/internal/unsorted/config.go index 9f07480..a8ab718 100644 --- a/forged/internal/unsorted/config.go +++ b/forged/internal/unsorted/config.go @@ -36,6 +36,15 @@ type Config struct { WriteTimeout uint32 `scfg:"write_timeout"` ReadTimeout uint32 `scfg:"read_timeout"` } `scfg:"lmtp"` + SMTP struct { + Net string `scfg:"net"` + Addr string `scfg:"addr"` + HelloName string `scfg:"hello_name"` + Transport string `scfg:"transport"` // plain, tls, starttls + TLSInsecure bool `scfg:"tls_insecure"` + Username string `scfg:"username"` + Password string `scfg:"password"` + } `scfg:"smtp"` Git struct { RepoDir string `scfg:"repo_dir"` Socket string `scfg:"socket"` -- cgit v1.2.3