摘要:
首先添加:using System.Net.Mail;代码如下,具体自己处理,以符合你的需求: public static bool SendMail(string subject, string body) { bool result = false; try { List<string> toMailList =new List<string>(){ {"sping@sina.com"}, {"springyang@sina.com"} }; if (toMailList.Count > 0) { MailMessage mail = new MailMess 阅读全文