有哪位同僚做过定时邮件发送,可否提供一下源码!
或者告知一下开发思路,在下不胜感激!!!

解决方案 »

  1.   

    我也想过实现lz的功能,定时,用timer可以

    但是,感觉不爽,想用windows service。听说调用windows服务效果好。
      

  2.   

    我也想用windows serveices ,不知道是否有人做过?
      

  3.   

    改用[计划/任务]好了,多easy....
      

  4.   

    无论你用什么 都得有一个线程来监视时间
    windows serveices 很简单 .net能创建此类工程
      

  5.   

    private System.Windows.Forms.Timer timer1;        this.timer1.Enabled = true;
            this.timer1.Interval = 1000;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);        private void timer1_Tick(object sender, EventArgs e)
            {
                string CurrTime = System.DateTime.Now.ToString("hh:mm");
                if (CurrTime == "00:00")
                {
                    执行程序......
                }
            }