Server.Execute not working on Application_Start

Posted by Riyazhaider under ASP.NET on 11/7/2014 | Points: 10 | Views : 461 | Status : [Member] | Replies : 0
I need to send email in the background thread, and the
email content need to be generated from ASPX pages.

I tried to call Server.Execute in Application_Start
and got exception.
Any help is appreciated

You might ask why I want to do that in the first place.
Well, I need to
start a background thread in the Application_Start. This
background thread
need send Emails. The content of email is from executing
a webpage. In
short, this background need to call the Server.Execute
which throws exception


(No response found.)

Login to post response