From b408645806e8098b89e782a09e8ba7ef36c6fb6f Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 16 Jan 2025 11:43:38 +0800 Subject: IMAP: Use TLS --- config.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config.go') diff --git a/config.go b/config.go index 92bec3e..b805dbc 100644 --- a/config.go +++ b/config.go @@ -26,8 +26,9 @@ var config struct { Addr string `scfg:"addr"` } `scfg:"mx"` IMAP struct { - Net string `scfg:"net"` - Addr string `scfg:"addr"` + Net string `scfg:"net"` + Addr string `scfg:"addr"` + Trans string `scfg:"trans"` } `scfg:"imap"` _tls_config *tls.Config } -- cgit v1.2.3