smtp支持ssl

This commit is contained in:
Yun
2025-10-30 14:13:18 +08:00
parent 4522af82f3
commit e0939d8728
3 changed files with 115 additions and 18 deletions
+1
View File
@@ -7,6 +7,7 @@ type EmialConfigDataMailgun struct {
}
type EmailConfigDataSmtp struct {
IsSSL bool `json:"is_ssl"` // 是否SSL
Username string `json:"username"` // 邮箱账号
Password string `json:"password"` // 授权码
Host string `json:"host"` // SMTP 服务器【默认smtpdm.aliyun.com】