从asp.net发送邮件时,应用程序没有运行 [英] Send mail from asp.net when application is not running

查看:169
本文介绍了从asp.net发送邮件时,应用程序没有运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在某些日历天发送电子邮件说everymonth 20日。我怎样才能做到这一点?
问题是我不是很确定,这将机应用用户在本月20日进行浏览。如果在这一天不打开,或许邮件不能被发送。有什么办法,我可以即使应用程序没有运行发送。

I want to send email on certain calendar days say 20th of everymonth. How can i do this? The problem is i am not so sure that this appliction will be browsed by users on 20th of the month. If not opened on this day, perhaps the mail can not be sent. Is there any way i can send it even if application is not running.

感谢。

推荐答案

对于这个要求,我会写的 Windows服务 应用。服务将在服务器上运行,而无需用户干预,将依赖于用户登录

For this requirement I will write Windows Service Application. Service will run on server without user intervention and will be dependent on users to login.

高水平的行动步骤将是


  1. 存储日历天数

  2. 允许服务访问此店和要求的日期时间发送电子邮件(使用predefined模板吗?)。

这篇关于从asp.net发送邮件时,应用程序没有运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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