如何使用Asp.net在特定日期和时间自动发送短信和电子邮件? [英] how do I send SMS and Email automatically on a specific date and time with Asp.net ?
本文介绍了如何使用Asp.net在特定日期和时间自动发送短信和电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个短信和电子邮件模块,每个用户在注册后都会收到短信和电子邮件。现在我必须在特定日期自动发送短信。怎么做?
I created a sms and email module in which every user receives a sms and email after registration. Now I have to send sms automatically on a particular date. How it can be done ?
推荐答案
如果你想在特定日期/时间发送短信/邮件,你可以使用Windows服务。你不需要Web应用程序。
使用Windows服务发送自动通知 [ ^ ]
If you want to send sms/mail on particular date/Time you may use Windows service. You don't require Web Application for that.
Send Auto Notification Using Windows Service[^]
您好朋友,您可以访问以下链接:
通过ASP.NET发送自动邮件 [ ^ ]
:设置适当的链接文本
Hello friend, You may visit the below link:
Sending Automatic mail through ASP.NET[^]
: Set appropriate link text
你可以通过安排任务以及通过使用Windows服务。为了更好的知识尝试谷歌
you can do it by scheduling task as well as by using windows service .for better knowledge try google
这篇关于如何使用Asp.net在特定日期和时间自动发送短信和电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文