From 1e961c9866fa338fbc4d3bd3b56712457702ec14 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Fri, 23 Aug 2024 16:39:19 +0800 Subject: [PATCH] by Robin at 20240823 --- library/email/send.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/email/send.go b/library/email/send.go index 46c9e071..73a1f5a6 100644 --- a/library/email/send.go +++ b/library/email/send.go @@ -26,7 +26,7 @@ func SendRavenIQTestResult(mail *dbstruct.Email, address, password string) error m.SetBody("text/html", body.String()) m.Attach(url) - err := gomail.NewDialer("smtp.qq.com", 465, address, password).DialAndSend(m) + err := gomail.NewDialer("smtp.office365.com", 587, address, password).DialAndSend(m) if err != nil { logger.Error("Send Email Fail", err) return err -- 2.41.0