sending newsletters via php & mysqld
Posted on 2011-03-16
I have a script for sending newsletters.
my ISP has advised me to set a sleep command of 10seconds every 50 emalis so as to batch them and avoid a few issues.
I'm findng this can lock the browser
Create a cronjob that runs every 30 mins
It searches a database for newslettter requests
After executing the script to send newsletters, it deletes the records
In my script, I'd create the record with any variables before returning control to my browser
then wait for the cronjob
Can anyone highllight issues with this approach and/or offer better options