Automatic Email notification from ASP.NET with out window service or console app

We have developed application in ASP.net, database is SQL server and deployed in local iis server on client environment. Currently we got new requirements to send notification email to user before 30 days of content expiration.

Client clearly said they will not install and maintain the window service or console application scheduled task on their server.

Is there any way to send the automatic notification from asp.net application? Please share your solution approach to achieve this.


try Quartz.net: http://www.quartz-scheduler.net/

or alternatively add a Timer to the global.asax:

    '--Save Translations every 15minutes, starting 15sec after appstart
    Dim TimerDelegate As Threading.TimerCallback = AddressOf SaveTranslationUseage
    Dim MyTimer As Threading.Timer = New Threading.Timer(TimerDelegate, Nothing, TimeSpan.FromSeconds(15), TimeSpan.FromMinutes(15))

and the "worker" Methood:

Private Sub SaveTranslationUseage()
    Translator.SaveLastUsages()
End Sub
链接地址: http://www.djcxy.com/p/38900.html

上一篇: 调度控制台应用程序

下一篇: 自动发送电子邮件通知从ASP.NET与出窗口服务或控制台应用程序