发送邮件增加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

@@ -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 {