:new:新增了邮件工具

This commit is contained in:
coward
2024-03-22 11:40:34 +08:00
parent 86c76add17
commit 8bcd3266d6
5 changed files with 106 additions and 5 deletions

9
config/mail.go Normal file
View File

@@ -0,0 +1,9 @@
package config
type mail struct {
Host string `json:"host" yaml:"host"`
Port int `json:"port" yaml:"port"`
User string `json:"user" yaml:"user"`
Password string `json:"password" yaml:"password"`
SkipTls bool `json:"skipTls" yaml:"skipTls"`
}