如何在我的Web应用程序中发送特定日期的电子邮件

问题描述:

我必须发送电子邮件,我的应用程序如何知道我的约会。我是新手,请帮忙。



ex:我希望在特定截止日期到来时向特定用户发送电子邮件

I have to send to an email,how does my application know my date. i am new to this please help.

ex: i want to send an email to particular user when his particular due date comes

您通常不在ASP.NET应用程序中执行此操作。您可以使用单独的应用程序来执行此操作,该应用程序可以是一直运行的控制台应用程序或Windows服务应用程序,并且可以监视时钟以在给定时间发送电子邮件。 ASP.NET应用程序不会连续运行。
You normally don't do this in a ASP.NET application. You do it using a separate application, either a console app or a Windows Service application that runs all the time and can monitor the clock to send an email at a given time. ASP.NET applications don't run continuously.