//写信 public ActionResult Send(string id) { var obj = new SysMailSender(); if (!id.IsNullOrEmpty()) { obj = SysMailService.GetObj(id, Request["read"] != null); obj = SysMailService.GetObjFormat(obj, Request["reback"]); } return(View(obj)); }
public ActionResult Send(SysMailSender obj) { var re = SysMailService.SendMail(obj, Request.Files, Request["fileId"]); return(Content(re.ToJson())); }