摘要: .Net自带封装的Mail接口(System.Net.Mail)方法实现 1 static readonly string cc = ConfigurationManager.AppSettings["cc"]; 2 //app.config使用如下注释的代买读取配置,web.config使用6行代码读取配置 3 //static Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); 4 //static Sm... 阅读全文
posted @ 2013-03-27 11:26 觉夜 阅读(355) 评论(0) 推荐(0) 编辑