Apply .gitignore rules

This commit is contained in:
皮蛋13361098506
2025-01-06 16:21:36 +08:00
parent 1b77f62820
commit ccd2c530cf
580 changed files with 69806 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package mailUtil
// 定义SMTPClient接口
type SMTPClient interface {
// 设置服务器
SetServer(host string, port int, isSSL bool)
// 设置发件箱
SetSender(name, address, password string)
//发送邮件:
// mailTo 接收方列表
// subject 主题
// body 正文
// isHtmlBody 正文是否html格式
// attachFiles 附件
SendMail(mailTo []string, subject, body string, isHtmlBody bool, attachFiles []string) error
}