发送所需日期的电子邮件 [英] Emails sending for required dates

查看:97
本文介绍了发送所需日期的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨...
我如何每天,每周,每月和用户选择的日期自动发送电子邮件..请帮助我..



谢谢...

hi...
how can i send emails automatically daily,weekly,monthly and user selected dates..please help me..



thank you...

推荐答案

Windows服务 [ ^ ]是最佳选择.

使用C#Windows服务结合数据库电子邮件记录PART – II异步发送自动电子邮件 [任务计划程序(Windows) [ ^ ]
关于任务计划程序与Windows服务的比较 [ SQL Server作业 [ SQL数据库邮件-从SQL Server发送电子邮件 [ SQL数据库邮件-通过电子邮件发送T-SQL结果 [使用ASP.NET模拟Windows服务以运行计划的作业 [ CodeProject答案 [ ^ ]之前问过类似的问题.
Windows Service[^] is the best choice.

Sending Automated Emails asynchronously using a C# Windows Service in conjunction with Database Email records – Part I[^]
Sending Automated Emails asynchronously using a C# Windows Service in conjunction with Database Email records PART – II[^]

Alternatively, you may use Task Scheduler (Windows)[^]
A comparison about Task Scheduler vs Windows Service[^]

Or use SQL Server jobs[^]
SQL Database Mail - Send Emails from SQL Server[^]
SQL Database Mail - Send T-SQL Results by Email[^]

BTW found a nice article in CP(Nice article)
Simulate a Windows Service using ASP.NET to run scheduled jobs[^]

Check out CodeProject Answers[^] for similar question asked before.


这篇关于发送所需日期的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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