by Robin at 20240823 #706
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue