C # .net is the best way to send email with attachments to send

I’m learning how to send emails from our application more securely.

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

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

I would like advice and any suggestions would be appreciated.

thanks

+4
source share
1 answer

We also have a case. We solved this by storing emails in a database that saves errors and repeats status. We use FreeSMTP to send actual messages. Quicksoft also has a complete product that handles the errors themselves and saves its own message database if that is what you are looking for (not so free, though;))

+2
source

Source: https://habr.com/ru/post/1341897/


All Articles