C#.net best way to queue emails with attachments for sending

放肆的年华 提交于 2019-12-05 00:50:23

问题


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

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.

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

Thanks


回答1:


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 ;-))



来源:https://stackoverflow.com/questions/5161247/c-net-best-way-to-queue-emails-with-attachments-for-sending

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!