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