Forum Moderators: coopster

Message Too Old, No Replies

Massmailing with no timeout

         

humandesigner

10:54 am on Mar 18, 2004 (gmt 0)

10+ Year Member



Hello,

I've created a nice mailing list utility in PHP, but the only one problem I have is that the use of the mail() function causes timeouts when sending a large quantity of emails to my registered members.

Is there a code sample somewhere I could use so that I won't experience timeouts anymore?

Or at least, could someone tell me what should I use in replacement of the mail() function?

Is there another solution ( ie: pausing every 500 mails, etc )?

BTW, I've tried several free mailing list utilities available on the internet but none was good enough for me.

Thanks a lot for helping.
Have a nice day.

dcrombie

11:25 am on Mar 18, 2004 (gmt 0)



You can speed things up a bit by sending the email to blocks of 500 or so emails using a for or while loop.