摘要: 1.开启qq邮箱中的服务,需要记住授权码 2. MailAddress from = new MailAddress("email", "server"); MailAddress to = new MailAddress("", "client"); SmtpClient client = new 阅读全文
posted @ 2018-12-25 16:31 魑魅魍魉四天王 阅读(266) 评论(0) 推荐(0) 编辑
摘要: public ContentResult Index() { return Content("测试"); //浏览器显示测试 } public EmptyResult Index() { return new EmptyResult(); //浏览器... 阅读全文
posted @ 2018-12-25 10:20 魑魅魍魉四天王 阅读(265) 评论(0) 推荐(0) 编辑