@@ -27,6 +27,7 @@ func SendEmail(title, content string, touser string)bool {
d := gomail.NewDialer("smtp.qq.com", 587, "local.circle@qq.com", "iyrzdcsrmmbabbge")
if err := d.DialAndSend(m); err != nil {
+ fmt.Println("err:",err.Error())
return false
}
return true