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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:17:43+00:00 2026-05-17T15:17:43+00:00

the other day i got an order from a customer and he asked me

  • 0

the other day i got an order from a customer and he asked me to write a script that can email website articles when he submits them

fist thing he asked was sending emails to all users in a way that doesnt make any problem for his server cause he has lots of users

ok now for making this script i should plan for writing an email script that can send article to all users after submiting a news by the author.

  • this script should quee emails not to make the server down

  • and it should works on background and autumatically

nice example of this script can be phpbb3 group mail section

i googled to find something usefull for this script , any php class that can help

what’s your suggestion and how would you write if this order came to you ?

  • 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-17T15:17:43+00:00Added an answer on May 17, 2026 at 3:17 pm

    Use cron.

    You can have a cron job run every 5 or 10 minutes that will send only a small percentage of emails at a time. That way it runs in the background and won’t slam the SMTP server.

    The cron script should use a well-tested class such as PHP Mailer or SwiftMailer. Create a cross-reference table that keeps track of which addresses have been emailed which articles.

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

Sidebar

Related Questions

I came over a snippet of code the other day that I got curious
Some background: I came across something the other day that got me thinking about
This question is related to one I asked the other day which I got
asked the next thing from Heroku support the other day: I have an app
So the other day, I asked a question on Stackoverflow and got answers. But
I got help with correct calculation the other day but I've hit a block
the other day I had a bug submitted for my app from a user
I got this question in an interview the other day and would like to
A friend of mine asked me the other day if I'm just looking at
I've got to write an app that performs a series of tasks: task to

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.