[FX.php List] Subject: Mass Mailing Techniques

Steve Hannah shannah at sfu.ca
Mon Mar 27 08:18:16 MST 2006


Hi Scott,

One solution for this is to increase the timeout in the php.ini  
file.  Personally I don't like this solution as it will only buy you  
a little bit of extra time.

A better solution is to create a script that only sends a single  
email and have this script continually called to send an email to  
each address.  A common method is to call the script by way of <img>  
tags (so you include the multiple copies of the script as images in a  
main web page.   Another way is to use Javascript and XMLHTTPRequest,  
to make the continuous calls.  If you do the <img> tags method, then  
the script should produce an image file that can be displayed (one  
for success and one for failure).

Let me know if this doesn't make sense, and I can produce an example  
for you.


Best regards

Steve Hannah
On 23-Mar-06, at 10:41 AM, Scott Baetz wrote:

> Hello All,
>
>
> Our organization would like to begin distributing emails to our  
> membership.  We are using a basic html page, and have no problems  
> pulling the data from FX.php and into an array for final mailing.   
> However, when we execute the mail (a simple for loop calling mail()  
> function) we receive a timeout – I suspect from the mailing  
> element.  I’ve spent COUTNLESSS hours searching the we for  
> something meaningful relating to a solution.  Can anyone here point  
> me in the right direction?  I’m gathering that many of you are in  
> the same place at one point or another.
>
>
> Best regards,
>
>
>
> Scott Baetz
>
> sbaetz at soscs.net
>
> (603) 490-9988
>
> http://www.soscs.net
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



----------------------------------------
Steve Hannah
Web Services Developer

Faculty of Applied Sciences
Simon Fraser University
shannah at sfu.ca
604-268-7228
Homepage: http://www.sjhannah.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060327/28644289/attachment.html


More information about the FX.php_List mailing list