I have written a code to send mail using SendAsync method of SMTP Client class. The codes work perfectly fine when I debug it. (i.e. running under webdevserver). But as soon as I host it on IIS 7, it just blows up. It is sending mails too slow and sometimes does not even send me the mail.
can anyone please guide me that what is happening and why my website is behaving differently on IIS.