Prevent asp.net system from killing a thread

40 Views Asked by At

I'm sending bulk mail from an asp.net application but after sending 80 emails the thread is killed by the system. Anyone knows a way to keep the thread alive until it finishes? I saw that there are ways to multi-threading and background processing but I need a quick working solution. Something to tell the system to mind its own business until I have the time to re-do the sending function.

I tried to change the tag <httpRuntime executionTimeout="300"/> in web.config but doesn't help.

0

There are 0 best solutions below