I'm developing an ASP.Net MVC application and I want to create a thread to send emails every 30 seconds. I need this because my provider does not allow sending many emails at the most time, so I thought about creating a List<String>
to add emails and this List
is read in foreach
and receives a Thread.sleep(30000)
of 30 seconds to send the next email, so I believe it would solve my problem.
How to do this, how to create Threads in Asp.Net MVC?