I am using ZF for an application that sends emails to my members.
ZF version 0.9.2
I am facing a very strange problem!
I am looping on my members emails and try to send an email as :
Quote:
foreach($membres AS $email){
$email = new Zend_Mail();
...
$email->send();
}
|
My script sends about 15 emails and gets stucked...
Then I tried
Quote:
foreach($membres AS $email){
$email = new Zend_Mail();
...
$email->send();
unset($email);
}
|
And I get 17 emails sent!
I also tried to changed the content of my email and could get 21 emails sent!
I thought about a memory issue but seems strange for only 21 emails!
What else could it be?