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!!