.NET定时群发邮件开源解决方案
有谁知道按计划的时间间隔自动发送电子邮件的解决方案(最好是开源的,以便我可以自定义它以满足我的需求)?
如果没有,任何人都可以推荐我可以用来实现此目的的 .NET 技术吗?我正在考虑为这个应用程序使用 Windows 服务,但问题是我没有开发 Windows 服务的经验。我想构建一个 WCF 或 ASP.NET 可部署解决方案,但我不确定 WCF 或 ASP.NET 的体系结构是否允许我在不进行一些丑陋的黑客攻击的情况下做到这一点。
谢谢。
Does anyone know of a solution (preferably open source, so that i can customize it to fit my needs), for automatic sending of emails at scheduled intervals?
If not, can anyone recommend a .NET technology that i could use to achieve this? I was thinking of using a Windows Service for this application, but the problem is that i have no experience developing Windows Services. I would like to build a WCF or ASP.NET deployable solution, but i'm not sure if the architecture of WCF or ASP.NET would allow me to do this without some ugly hacks.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
MailSystem.NET 包含您需要的一切,包括基于模板的邮件合并系统和支持调度的邮件排队服务。
它是免费且开源的。
MailSystem.NET contains everything you need including a template based mail merging system and a mail queuing service that supports scheduling.
It is free and open source.
自己构建一个非常容易。
System.Net 中有一个邮件客户端命名空间,并且您在这里有一个调度组件: http://quartznet.sourceforge.net/
至于 Windows 服务,其实并没有那么难。 Visual Studio 有一个 Windows 服务项目类型,您可以使用它来获取所需的一切。只需根据您的逻辑添加一些类即可。
It's quite easy to build one by yourself.
Theres a mail client in the System.Net namespace and you have a scheduling component here: http://quartznet.sourceforge.net/
As for windows services, it's not really that hard. Visual Studio have a windows service project type that you can use to get everything that you need. Just put in some classes with your logic.
“自己建造一个非常容易。”
从经验来看,除非你有一年的空闲时间,否则我不会推荐这样做。功能齐全的邮件应用程序包含许多元素,您至少需要从一些基本代码开始。
"It's quite easy to build one by yourself."
Speaking from experience, I would not recommend this unless you have a year of free time. There are many elements that go into a full-featured mailing application and you'll want to at least start with some base code.