Timeout and newsletter |
[eluser]TheFuzzy0ne[/eluser]
OK, you should be able to send up to 100 Emails in only a single call to the Email class. So you should only need to call $this->email->send() 3 times. You can pass over up to 100 Email addresses in one go, by separating them with a space or a comma: Code: $email_addresses = "[email protected], [email protected], [email protected]"; You can then do this: Code: $another_100_email_addresses = getAddresses(2); // This is a fake pager function that doesn't actually exist. Oh, and yes, use BCC if you don't want the recipients to be copied in on everyone else's addresses. And repeat as necessary. I'd recommend you make a function that grabs 100 Email addresses for you, and concatenates them into a comma separated string. You may also wish to raise the maximum execution time limit. Code: ini_set('max_execution_time', $number_of_seconds); Hope this helps. |
Messages In This Thread |
Timeout and newsletter - by El Forum - 02-21-2009, 09:56 AM
Timeout and newsletter - by El Forum - 02-21-2009, 10:13 AM
Timeout and newsletter - by El Forum - 02-21-2009, 10:30 AM
|