Update email.go

EmailTest  修改From 为 To
This commit is contained in:
longzhang83
2022-10-26 17:50:39 +08:00
committed by GitHub
parent eceed89401
commit cda685d22a
+1 -1
View File
@@ -43,7 +43,7 @@ func ErrorToEmail(subject string, body string) error {
//@return: error
func EmailTest(subject string, body string) error {
to := []string{global.GlobalConfig.From}
to := []string{global.GlobalConfig.To}
return send(to, subject, body)
}