.net发送邮件
摘要:
发送邮件,很简单的东西,主要用的就是System.Net.Mail命名空间下的东西 1 System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage(); 2 message.To.Add("targetAddress"); 3 message.Subject = "This is the Subject line"; 4 message.From = new System.Net.Mail.MailAddress("sourceAddress... 阅读全文
posted @ 2013-06-08 09:14 MikeRen 阅读(291) 评论(0) 推荐(0) 编辑