private void SendTest() { var ret = ManageHelper.MailSend(PageRequest.GetString("EmailTest"), Sys.Kernel.Software.Name + " 的测试邮件。", "这是一封来之 " + Sys.Kernel.Software.ChineseName + " 重要的测试邮件,发送时间:" + DateTime.Now.ToString() + "。"); Response.Write(ret == "ok" ? "yes" : Utils.RemoveHtmlContent(ret)); Response.End(); }