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 6384767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:48:57+00:00 2026-05-25T02:48:57+00:00

I am building a website where users will be able to send newsletters. They

  • 0

I am building a website where users will be able to send newsletters. They will need to track the sending process and also to stop it if required. Since they may have lots of emails the actual sending will be delegated to a script which will run in the background and will be executed by the user. This script will handle all users’ newsletters, only the arguments to it will be different.

For the user to be able to see how many mails have been sent and to stop the sending process I was thinking of implementing some sort of interprocess communication between the website and the scripts running in the background but I’m not sure how to do it.

Any help will be much appreciated.

  • 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-25T02:48:58+00:00Added an answer on May 25, 2026 at 2:48 am

    The process:

    1. When sending the newsletter, queue all target addresses in a table.
    2. Process a fix amount of the queue in a cronjob that runs every few minutes.

    Then when displaying sent amount, just count the amount of entries in your queue that are processed.

    When working with a queue will also fix any performance issues your script encounters when everyone clicks ‘send’ simultaneously.

    Stop mailing

    If the customer would like to stop mailing, you only have to remove all queue’d emails where the mailing matches. You could also flag them as ‘cancelled’ if you would like to keep the data. (You will have to make sure your queue only processes ‘pending’ mails from the queue).

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

Sidebar

Related Questions

I am building a 'software as a service' website that will be charging users
I'm building a website where I will have users logging into the site from
I'm going to be building a website where people will be able to register,
I'm building a website that will authenticate users via Facebook connect and I'm torn
I am building a dynamic (food) menu system for a website. Users will be
I am building a website using asp.net and this website will host users images
I'm building a website that will require user registration and logon. I would like
I am building an ASP.NET website which will collect data from a user and
Building a website that has English & Japanese speaking users, with the Japanese users
I am building a website that shows recommend pages for users. Users only click

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.