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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:13:56+00:00 2026-05-23T10:13:56+00:00

I have an old customer email list (about 1100 emails) and I would like

  • 0

I have an old customer email list (about 1100 emails) and I would like to email them all.
This list is in a gigantic php array.

I am using sendgrid and they have a nice php howto located here: http://sendgrid.com/documentation/display/api/SMTPPHPExample

I am using their code and in one section they have:

$toList = array('destination1@example.com', 'destination2@example.com');

Now, to not overflow sendgrids servers or get caught in spam filters I would like to only send batches of 100 emails at a time, how can I grab 100 emails from my big array, put them into this array, run through the sendgrid login, send email, then go back, grab the next 100 and run the loop again.

I’m not too php savvy so i have no idea how to set up this loop.

Thanks a lot for any help!!

  • 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-23T10:13:57+00:00Added an answer on May 23, 2026 at 10:13 am

    I think you’re talking about array array_chunk ( array $input , int $size[, bool $preserve_keys = false ] ). It splits an array into and array of smaller arrays based off of the value in $size.

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

Sidebar

Related Questions

I have a table in my database formatted like this: customer old_code new_code C1
I have this old question but no answer works for me from online, the
(Sorry I know this is an old chestnut; I have found similar answers here
I have a customer that has an old non-existant application; he had a problem
I have to creata a Dialog in Java with few fields like customer Id,
We have an old C/C++ .dll that a customer accesses via COM. We have
I have a MySQL table which contains a list of all possible products a
I have a customer (a very old person) who wants an application that has
I have an INSERT statement that looks like this: INSERT INTO officer (officer_number, name,
I have an old MFC utility written with VS2008 project. We have used this

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.