Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 645
Andrew Cetinic Avatar asked Nov 05 '22 01:11

Andrew Cetinic


1 Answers

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

like image 81
Dennis Smit Avatar answered Nov 09 '22 05:11

Dennis Smit