I am working on a Asp.net 4.0 application.
In it there is a feature where a loggedIn user can invite other people to join him in this application.
For this user needs to enter the email address for people he wants to invite.
This can be 1 or 1000.
Application need to send emails to these people.
Now I can not write my mail sending code on the main thread and let the user wait for response till every single mail is sent.
What other approaches I can apply here to send mail and let the user other tasks on the application After he clicks on the Send invitation button.