View Single Post
  #1 (permalink)  
Old 09-03-2007, 09:32 AM
toutoune60 toutoune60 is offline
Junior Member
 
Join Date: Jul 2007
Posts: 3
Default Mass mail sending issue!

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?
Reply With Quote