Click here to Skip to main content
15,905,322 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello sir ,
i want to know how will i use my code in background ... i want to send a subscription mail to members .. but in background .. please tell me how it can be achieve
thanks in advance :)
Posted

1 solution

You can use Threading so that the Email sending operation will be carried out Asynchronously.

Refer

Email Asynchrnously[^]

Or can use SendAsync method
SendAsync[^]

Send asynchronous mail using asp.net[^]
 
Share this answer
 
v2
Comments
Rahul VB 1-Feb-14 2:31am    
Thanks a ton
JoCodes 1-Feb-14 2:34am    
My Pleasure, Rahul :)
Amirsalgar1 1-Feb-14 2:57am    
got it ,thanks a lot :)have nice day ..
JoCodes 1-Feb-14 2:58am    
Welcome. :) Have a nice day too.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900