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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:25:43+00:00 2026-06-07T12:25:43+00:00

I have some PHP code that help send emails. The way it works is

  • 0

I have some PHP code that help send emails. The way it works is that there is a list of unique keys, every key has to be sent to a different email address. Sometimes we need to be able to send 1000 of these key out at once, and hence, 1000 emails.

I am using the Pear Mail SMTP code found in this post with gmail. It works very well when sending just a small number of keys. However when I try to send many keys (over 100), i often get this error:

enter image description here

From what I have read, this means that for whatever reason, the SMTP server isn’t taking emails right now, and denies the transfer, suggesting to try back later. I am not quite sure what to do here to handle this problem. Should I make the script pause for a few seconds and try again? Does the error mean something different? What am I to do?

  • 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-06-07T12:25:45+00:00Added an answer on June 7, 2026 at 12:25 pm

    Send out the keys in batches of 50, with a small time-interval between each batch. The error means that you are trying to open too many SMTP connections at the same time.

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

Sidebar

Related Questions

I have some PHP code that generates dynamic tables of data on the fly.
I have some PHP code that is designed to make a spreadsheet with formulas
I have some PHP code that generates a calendar and then outputs html to
So I have some PHP code that looks like: $message = 'Here is the
I have php code that puts some values into an Array as follows: $hunter=addslashes($MessageArray[1]);
I have some setup code in my functions.php file that sets permalinks and adds
In PHP, say that you have some code like this: $infrastructure = mt_rand(0,100); if
Hi there I have edited some code I have found on-line and everything works
I have some php code which works to chek the incoming url and i
I have some PHP code which allows me to sort a column into ascending

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.