摘要: private static bool sendMail() { try { //接收人邮箱 string SendTo = "XXXXX@163.com"; //抄送人邮箱 string SendCC = "YYYYY@163.com"; MailMessage message = new MailMessage(); //发送人邮箱 ... 阅读全文
posted @ 2013-11-18 17:27 心随风而逝 阅读(519) 评论(0) 推荐(0) 编辑
摘要: //获取配置文件中的需要监控项private static string MonitorServe = ConfigurationSettings.AppSettings["MonitorServe"]; static void Main(string[] args) { StartMonitor(); } /// /// 开启监控 /// private static void StartMonitor() { int Proceed... 阅读全文
posted @ 2013-11-18 10:47 心随风而逝 阅读(710) 评论(4) 推荐(0) 编辑