摘要:
private static bool sendMail() { try { //接收人邮箱 string SendTo = "XXXXX@163.com"; //抄送人邮箱 string SendCC = "YYYYY@163.com"; MailMessage message = new MailMessage(); //发送人邮箱 ... 阅读全文
摘要:
//获取配置文件中的需要监控项private static string MonitorServe = ConfigurationSettings.AppSettings["MonitorServe"]; static void Main(string[] args) { StartMonitor(); } /// /// 开启监控 /// private static void StartMonitor() { int Proceed... 阅读全文