A smart queue solution

I would like to address such a problem: I have an HTML form (for example, a register form) that sends email. Now I am sending it as part of the page request. Obvious disadvantages:

  • makes the request longer
  • sometimes the smtp server is down, or timeouts and emails are not sent

When working with PHP, I used a queue-based solution - I queued the / xml object on the host, and then some client checked this queue. If the queue task was successfully processed, it removed the task from the queue. I wonder if there is a similar implementation on the Windows / .NET platform?

Thanks Paweł

+3
source share
3 answers

, MSMQ, .NET. .

+3

AH - ?

HTML- (, ), .

, , SMTP Windows, . , ( , , ).

.

0

. SendAsync System.Net.Mail.SmtpClient. , .

: http://msdn.microsoft.com/en-us/library/x5x13z6h.aspx

0
source

All Articles