[FX.php List] First Mass email = Too Many Redirects for Safari

Alex Gates alex at gandrpublishing.com
Wed Dec 19 09:53:10 MST 2007


I don't see why you'd want to do so many finds when you could just get 
everything in one found set and foreach() through it.

Jonathan Schwartz wrote:
> Errrr.....no.
> 
> I'm doing a separate find on the first page, operating on the first 
> record found and then marking it done and repeating until foundcount is 0.
> 
> The mail step is sending either one or two email, depending if there are 
> 1 or two contacts on the record.
> 
> Since posting, I realized that perhaps I should just merge the pages 
> into...and use a for loop.
> 
> Will Safari still think that there is a problem?  I guess not, because I 
> won't be reloading pages.  I'll be using the same page...unless the 
> timeout thing happens.
> 
> Also, I'd like to see information update on the screen to show 
> progress...but that might bring me back to the same Safari error.
> 
> Guess I'll start experimenting!
> 
> Jonathan
> 
> 
> 
> At 5:17 PM +0100 12/19/07, Gjermund Gusland Thorsen wrote:
>> I asume you do a foreach on the found set?!?
>>
>> and you do issue one mail pr foreach in the loop?
>>
>> The only thing that should be able to go wrong is a timeout?
>>
>> Then you need to edit the php.ini to allow a longer execution time.
>>
>> ggt667
>>
>> 2007/12/19, Jonathan Schwartz <jschwartz at exit445.com>:
>>>  Hi Folks,
>>>
>>>  I tried my first mass email (<100) using PHPMailer/fx/FMP and Safari
>>>  refused to do mre than 5 or so records.
>>>
>>>  In short, I have one page searching the db and creating the email
>>>  components. I use a second page with header to actually send the page
>>>  with phpmailer. The last step of that script reload the first page.
>>>
>>>  Safari retruns an error page after 5 or so loops.
>>>
>>>  I can see that Safari is trying to be helpful, but I don't need that
>>>  kind of help in this case.
>>>
>>>  Did I approach the task wrong?
>>>
>>>  Thx
>>>
>>>  Jonathan
>>>  --
>>>  Jonathan Schwartz
>>>  Exit 445 Group
>>>  jonathan at exit445.com
>>>  http://www.exit445.com
>>>  415-381-1852
>>>  _______________________________________________
>>>  FX.php_List mailing list
>>>  FX.php_List at mail.iviking.org
>>>  http://www.iviking.org/mailman/listinfo/fx.php_list
>>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> 


More information about the FX.php_List mailing list