Unable to send mail asynchronously
<p>I'm using a separate class and unique method for sending mail.All my web pages, will call the method to send the mail. But, I'm using Client.SendAsync() to send the mail. The following error occurs while sending the mail asynchronously. </p>

<p>"Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event"</p>

<p>I set Async=true in @page directive, but, as I'm using separate class, so no use of it. Is there any other way to overcome this problem?</p>
