public IResult <string> MailTest() { MailInfo mailInfo = new MailInfo(); mailInfo.Content = "hello"; mailInfo.OperaterID = "yh"; mailInfo.OperaterIP = NetHelper.GetClientIP(this.HttpContext); mailInfo.Title = "this is test mail"; mailInfo.ToMail = "*****@*****.**"; NetHelper.AsyncSendEmail(mailInfo, mailOption); return(this.Success("ok")); }