排队带附件的电子邮件发送C#.NET最好的方法 [英] C#.net best way to queue emails with attachments for sending

查看:165
本文介绍了排队带附件的电子邮件发送C#.NET最好的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要寻找到一种更安全地从我们的应用程序发送电子邮件。

I am looking into a way to more securely send emails from our application.

目前,我们正在直接发送邮件到IIS SMTP服务器,但在寻找如何更安全地传送邮件,如果服务器宕机,重启等。

We are currently sending emails directly to an IIS SMTP server but are looking at ways to more securely deliver emails if the server goes down, restarts etc.

我在想一个方法来实现,这将是存储在队列中的邮件(带附件),通过一个单独的进程是程序,或储存的电子邮件在数据库中进行再处理。

I was thinking a way to implement this would be to store the emails (with attachments) in a queue to be process by a separate process, or store the emails in the database to be then processed.

我希望得到一些建议和任何建议将AP preciated。

I was wanting to get some advice and any suggestions would be appreciated.

感谢

推荐答案

我们有同样的情况。我们通过存储在保持故障和重试状态的数据库的电子邮件解决它。我们使用 FreeSMTP 发送实际的消息。 Quicksoft还拥有全面的产品,处​​理错误本身,并保持自己的信息数据库,如果这是你要找的东西(不是那么自由,虽然; - ))

We have a likewise case. We solved it by storing the emails in a database that keeps fault and retry status. We're using FreeSMTP to send the actual messages. Quicksoft also has a all-out product that handles errors itself and keeps its own message database if that is what you're looking for (not so free though ;-))

这篇关于排队带附件的电子邮件发送C#.NET最好的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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