Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 412703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T18:06:41+00:00 2026-05-12T18:06:41+00:00

I have a asp.net program, and I need to send a lot of emails.

  • 0

I have a asp.net program, and I need to send a lot of emails.
when i call http://localhost:70/sendemails
system will send the emails one by one in seperated threads(just like async).
I don’t know if this is the best method.
but what i want to know is: I schedule to send 10000 emails, and after i call the link, and then close the browser(means that the session will be closed too),
Then if the threads i created will also be terminated ?

What is the best method to send lots of emails ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T18:06:41+00:00Added an answer on May 12, 2026 at 6:06 pm

    I would suggest that the ASP.NET application writes the information into a queue of some description – whether that’s a message queue or just a table in the database.

    Then have a separate service running to process the queue and send the emails. That way you don’t need to wait until the emails have been sent before you respond, but you can still be sure that by the time the page responds, the request has been persisted.

    Another alternative would just be to start a new thread to do the email sending within the ASP.NET application, but that means that if the application were to fall over (or be recycled) the request would be lost. It’s easier to put the persistence and fault tolerance in a separate service, IMO.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have program with asp.net c# but now i need to create an application
I need to create an installer program that will do install the following: ASP.Net
I have an ASP.NET web service that I can access via a windows program
Using C# ASP.NET I want to program a queue. I want to have X
I have a simple asp.net program with forms authentication, session management etc. This application
I am using ASP.NET 3.5 and C#. On my page I need to have
For an asp.Net MVC project, I will need to handle large files( mostly 200-300Mo,
I have an ASP.NET program that is writing date to an SQLExpress Database date
I am using RequiredFieldValidator in my asp.net program. I have a sign out button
We have an asp.net c# program that reads a sheet from an Excel file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.