Implementing daily Bulk email (>10000) from ASP.NET 2.0 Web Application with C#

dhiraj79
dhiraj79 used Ask the Experts™
on

Hi,
I am working on a web application using .NET 2.0 AND c#.
Its a recruitment site and jobs are posted by recruiters .
I am saving the jobs as soon as the recruiters posts the job.
and we want to send the bulk mail to all our registered users(>10000) to notify the job post.
When I am doing it in JobPost.aspx page by calling a fUNCTION IN Business logic the page(jobpost.aspx ) processing does not finishes until all mail is sent which takes more than 30 min and error comes.
When I am starting a background thread form the jobpost.aspx.cs then the page JobPost.aspx renders but the background thread some times sends a few mails some times doesnot sends at all.
Plese suggest if there is good way to Implement this feature.

Thanks.
Implementing daily Bulk email (>10000) from ASP.NET 2.0 Web Application.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Hi Dhiraj

Refer below article:
WebMailer:                                                                               Sending 1000s of emails from a web page without timing out.
http://www.aspnetemail.com/samples/webmailer.aspx

Also it creates the log as well. this will be helpful in-case of an error occurs

It has both the C# and Vb.net Sample solution


Asishraj

Commented:
i recommend a split

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial