title: Show javascript alert() after sending async email into a different class
body: <p>I have a VB ASP.NET aplication which at some point it has to send some emails (using System.Net.Mail).</p>
  
  <p>I want to send them in background and once the sending finishes get some notification to know if the email was sent correctly or not (alert() the user). I tried to use SendAsync email, the problem is that in that way it freezes the UI, I also tried to encapsulate all the sending email method into a thread but after that the Httpcontext.current object is always null so I can't show the alert().</p>
  
  <p>I have tried to search a solution around Stackoverflow but without any luck....</p>