Hi, i am utilizing SmtpClient.SendAsync in umbraco to send "forgot-password" mails and have execute it without a problem.
One fact that i just realize is that calling SendAsync is ASP.Net don't really do it async (meaning the page is not rendered back to the client until the mailing completes), example sending an email takes 4 seconds to complete.
The page does not render until the SendCompletedEventHandler is complete Basically what i want is for the page to render instantly without having to wait whether the email sending is successful or not.
Is that possible or do i need another solution. Ps: I want to do all this is the server if possible without using AJAX.
SmtpClient.SendAsync
Hi, i am utilizing SmtpClient.SendAsync in umbraco to send "forgot-password" mails and have execute it without a problem.
One fact that i just realize is that calling SendAsync is ASP.Net don't really do it async (meaning the page is not rendered back to the client until the mailing completes), example sending an email takes 4 seconds to complete.
The page does not render until the SendCompletedEventHandler is complete
Basically what i want is for the page to render instantly without having to wait whether the email sending is successful or not.
Is that possible or do i need another solution.
Ps: I want to do all this is the server if possible without using AJAX.
Thank u
is working on a reply...