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