如何根据asp.net中的到期日期动态发送电子邮件 [英] how to send emails dynamically based on expiry Date in asp.net

查看:120
本文介绍了如何根据asp.net中的到期日期动态发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何根据asp.net中的到期日期动态发送电子邮件..并且基于有效性在一周之前需要每天自动发送电子邮件。 。

请帮忙。 ..

解决方案

阅读我的过去答案 - 如何从Asp.net C#发送自动消息? [ ^ ]。

引用:

对于发送邮件,您可以创建控制台应用程序并将其添加到Windows任务计划程序。

您可以选择日期和何时开始并设置重复频率。



当达到时间间隔并自行重复时,它会自动触发。


用于窗口服务检查以下链接



在Visual Studio中创建Windows服务[C#]



逐步创建C#服务







适用于Sql工作。



创建工作



在SQL Server中创建和安排作业



在sql server 2008中创建作业

hi guys ,
how to send emails dynamically based on expiry Date in asp.net.. and based on validity before one week need to send emails every day automatically . .
please help . ..

解决方案

Read my past answer - How to send Automatic Messages from Asp.net C#?[^].

Quote:

For sending mails, you can create Console Application and add that to the Windows Task Scheduler.
You can select the Date and Time when to start and also set the repetition frequency.

It would automatically trigger, when the time interval is reached and repeat itself.


For window service check following links

Create Windows Service in Visual Studio [C#]

Creating a C# Service Step-by-Step



For Sql job.

Create a Job

Create and Schedule a Job in SQL Server

creating job in sql server 2008


这篇关于如何根据asp.net中的到期日期动态发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆