コード例 #1
0
        //写信
        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));
        }
コード例 #2
0
        public ActionResult Send(SysMailSender obj)
        {
            var re = SysMailService.SendMail(obj, Request.Files, Request["fileId"]);

            return(Content(re.ToJson()));
        }