Browse Source

fix:定时任务提醒,发送者邮箱账号更改

Roc 3 years ago
parent
commit
268781ffe7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/email.go

+ 1 - 1
utils/email.go

@@ -24,7 +24,7 @@ func SendEmail(title, content string, touser string) bool {
 		"user": "18170239278@163.com",
 		"pass": "JYWLATLVZJROWMWZ",
 		"host": "smtp.163.com",
-		"port": "25",
+		"port": "994",
 	}
 	mailPort, _ := strconv.Atoi(mailConn["port"]) //转换端口类型为int