Sending mails more than 10000 per click.

Posted by Suneel161 under C# on 3/12/2014 | Points: 10 | Views : 487 | Status : [Member] | Replies : 4
Hi,
we are sending more the 10000 mails per click.but its taking more time(through for loop) and the page is available after processing the all mails.
how to execute sending mails in background.




Responses

Posted by: Allemahesh on: 3/12/2014 [Member] [MVP] Silver | Points: 25

Up
0
Down
You can try using windows services.

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suneel161 on: 3/12/2014 [Member] Starter | Points: 25

Up
0
Down
Hi,
But we are taking few inputs from user then sending mails.

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 3/12/2014 [Member] [MVP] Silver | Points: 25

Up
0
Down
You can create a input table and insert these input to that table and then run the windows service and take inputs form that table.
Hope you got it.

Happy coding.

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabu_Spark on: 3/17/2014 [Member] Starter | Points: 25

Up
0
Down
Hi Suneel,
You can MSMQ concept to send mail in queue. Its processing taking place in background.

With regards,
J.Prabu.
[Email:prbspark@gmail.com]

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response