Merge pull request #1269 from longzhang83/master

Update email.go
This commit is contained in:
奇淼(piexlmax
2022-10-27 17:25:22 +08:00
committed by GitHub

View File

@@ -43,7 +43,7 @@ func ErrorToEmail(subject string, body string) error {
//@return: error //@return: error
func EmailTest(subject string, body string) error { func EmailTest(subject string, body string) error {
to := []string{global.GlobalConfig.From} to := []string{global.GlobalConfig.To}
return send(to, subject, body) return send(to, subject, body)
} }