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

  • SEARCH
  • Home
  • 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 6065451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:23:30+00:00 2026-05-23T09:23:30+00:00

In a website, Some times sending an email take few seconds, so I need

  • 0

In a website, Some times sending an email take few seconds, so I need to send email from another thread, to don’t wait until the email sent.

I found this answer on stackoverflow, Is it fine to do it this way, incase I will send just one email per request?

Or there is another standard way to do this?

  • 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-23T09:23:30+00:00Added an answer on May 23, 2026 at 9:23 am

    If possible, you should set up a local SMTP server that only listens on the loopback address (127.0.0.1) as this is exactly what mail queues are for. You can configure your SMTP server to relay through your real outbound mail server so that you don’t run into problems with SPF treating your mail as spam.

    This way your application can quickly queue the outbound mail and be on it’s merry way and you can be reasonably sure that the message will eventually be delivered even in the event of heavy load, network issues, or even a crash.

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

Sidebar

Related Questions

I am sending out emails from my website using Zend_Mail and Send Grid. I
I wonder if there's any tool/website where I can plot some run times as
When I run my website,sometimes run without error and some times this exception accord.
I am trying to send an outlook appointment from an ASP.NET website. I have
Here i have some code from my website I'm making. I'm having trouble styling
I have a website that i did some time ago now they request some
I would like to scrape some dynamic data off of a website. On the
I have a situation where my website needs to quickly retrieve data from my
I recently encountered a problem in my website - some users do not have
I setup my website to require unique email addresses (no two users can have

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.