Concurrent use of System.Net.Mail.SendAsync?
Posted
by Bob
on Stack Overflow
See other posts from Stack Overflow
or by Bob
Published on 2010-04-24T23:13:12Z
Indexed on
2010/04/24
23:23 UTC
Read the original article
Hit count: 550
vb.net
|asp.net-mvc
I want to use System.Net.Mail.SendAync in an ASP.NET MVC2 application. I see that it throws an InvalidOperationException if there is already a SendAsync call in progress. Does this mean only one SendAsync is allowed per host, or per thread? For example, if I simultaneously have 2 web users from 2 different remote hosts, can each use SendAsync at the same time?
© Stack Overflow or respective owner