|
@@ -333,7 +333,7 @@ func sendInfo(to, cs, title, content string) {
|
|
User: "public03@topnet.net.cn",
|
|
User: "public03@topnet.net.cn",
|
|
Pwd: "ue9Rg9Sf4CVtdm5a",
|
|
Pwd: "ue9Rg9Sf4CVtdm5a",
|
|
}
|
|
}
|
|
- status := mail.GSendMail("剑鱼标讯", to, cs, "", title, content, "", "", gmail)
|
|
|
|
|
|
+ status := mail.GSendMail_q("剑鱼标讯", to, cs, "", title, content, "", "", gmail)
|
|
if status {
|
|
if status {
|
|
log.Println("send mail success", title, to)
|
|
log.Println("send mail success", title, to)
|
|
}
|
|
}
|
|
@@ -364,7 +364,7 @@ func getCc(posid int64) (to string) {
|
|
if m != nil && len(*m) > 0 {
|
|
if m != nil && len(*m) > 0 {
|
|
to = getMailAds(common.ObjToString((*m)[0]["mail"]), common.ObjToString((*m)[0]["name"]))
|
|
to = getMailAds(common.ObjToString((*m)[0]["mail"]), common.ObjToString((*m)[0]["name"]))
|
|
}
|
|
}
|
|
- to = getMailAds("shenbingyi@topnet.net.cn", "沈炳毅")
|
|
|
|
|
|
+ //to = getMailAds("shenbingyi@topnet.net.cn", "沈炳毅")
|
|
} else if common.IntAll((*info)[0]["role_id"]) == 3 {
|
|
} else if common.IntAll((*info)[0]["role_id"]) == 3 {
|
|
to = getMailAds("shenbingyi@topnet.net.cn", "沈炳毅")
|
|
to = getMailAds("shenbingyi@topnet.net.cn", "沈炳毅")
|
|
}
|
|
}
|