网站应每24小时发送一次电子邮件 [英] website should send email every 24 hour
本文介绍了网站应每24小时发送一次电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在用C#MVC 5.0创建一个网站。这是一个类似于flipkart.com的购物网站
它应该发送电子邮件给那些没有来到网站1个月的买家。
如何每天从我的网站发送邮件?
I am creating a website in C# MVC 5.0. it is a shoping website similar to flipkart.com
it should send email to buyers who have not come to site for 1 month.
how to send mail from my website every day?
推荐答案
计划任务应该足够了,但是你会感到恼火,可能会失去你的客户。
A Scheduled Task should be enough, but you'll be irritating and possibly losing your customers.
这不是网站定期发送此类电子邮件的工作。
我建议编写一个控制台应用程序(甚至是PowerShell)并使用任务计划程序 [ ^ ]在特定时间安排它。
That's not the job of a website to send such emails on periodic interval.
I would suggest to write a console application (or even a PowerShell for that matter) and use the Task Scheduler[^] to schedule it on a specific time.
这篇关于网站应每24小时发送一次电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文