我希望我的asp.net Web应用程序每天早上8点拍摄邮件。

编程入门 行业动态 更新时间:2024-10-19 06:27:19
本文介绍了我希望我的asp Web应用程序每天早上8点拍摄邮件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我希望我的asp网络应用程序每天早上8点拍摄邮件。任何人都可以告诉我可以做些什么。

I want my asp web application to shoot mail daily at 8:AM .Can anybody suggest me what can be done.

推荐答案

不确定完整有关您的要求的详细信息,但您可以轻松配置您的后端。 如果后端是SQL,则设置数据库邮件并安排SQL JOB每隔8:00执行一次。 让我知道它是否适合您或提供详细要求。 第二选项:使用C#创建exe以发送电子邮件并使用窗口日程安排相同的时间。 Not sure about complete details about your requirement but you can able to do this work simple configure you Back-End. If Back-end is SQL then setup you Database Mail and schedule the SQL JOB to execute on every 8:00 AM. Let me know if it's work for you or provide the detail requirement. 2nd Option: Create exe by using C# to send email and schedule the same by using window schedule.

通过以下链接: - 样本: 简单的Windows服务,它发送自动电子邮件警报[^] [ ^ ] MSDN:有关Windows服务的详细信息: Windows服务应用程序简介[^] [ ^ ] 有关详细信息,请查看此处: 简单的Windows服务示例[^] [ ^ ] 您的第一个C#Web服务[^] [ ^ ] Windows服务在行动I [^] [ ^ ] 谢谢, Mukesh go through below links:- Sample: Simple Windows Service which sends auto Email alerts[^][^] MSDN: Details about Windows Service: Introduction to Windows Service Applications[^][^] For more details, look here: Simple Windows Service Sample[^][^] Your first C# Web Service[^][^] Windows Services in Action I[^][^] Thanks, Mukesh

第三种选择是编写脚本或自定义工具以发送电子邮件并使用 Windows调度程序 [ ^ ]。 A third option is to write a script or a custom tool to send the e-mail and run it as a scheduled task using windows scheduler[^].

更多推荐

我希望我的asp.net Web应用程序每天早上8点拍摄邮件。

本文发布于:2023-11-27 04:10:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1636534.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   早上   邮件   asp   net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!