发送邮件增加ssl功能

This commit is contained in:
bjd
2021-01-22 10:55:49 +08:00
parent 73d1edd62f
commit dd83b330eb
6 changed files with 15 additions and 3 deletions

View File

@@ -18,13 +18,15 @@ type GroupLinkAcl struct {
// 自上而下匹配 默认 allow * *
Action string `json:"action"` // allow、deny
Val string `json:"val"`
Port uint8 `json:"port"`
Port uint16 `json:"port"`
IpNet *net.IPNet `json:"ip_net"`
Note string `json:"note"`
}
type ValData struct {
Val string `json:"val"`
IpMask string `json:"ip_mask"`
Note string `json:"note"`
}
type Group struct {

View File

@@ -38,6 +38,7 @@ type SettingSmtp struct {
Username string `json:"username"`
Password string `json:"password"`
From string `json:"from"`
UseSSl bool `json:"use_ssl"`
}
type SettingOther struct {