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,20 @@
package mailUtil
import (
"testing"
)
func TestSendMail(t *testing.T) {
svr := SimpleSMTPClient("smtp.exmail.qq.com", 465, true, "name", "service@public.com", "Sv123456")
err := svr.SendMail([]string{"164760769@qq.com"},
"邮件发送测试",
"<h1>这是邮件正文</h1>",
true,
[]string{
"./doc.go",
"./simpleClient_test.go",
})
if err != nil {
t.Error(err)
}
}