(please sorry for my bad English)
I have a site (indexu) with more than 22,000 links
I need a script that can run via cron to send an mail to all link owners once a month. The site is running on a linux server and php 4.3.9
This is what I need:
- the script must be able to run via crontab and browser
- the script must also run on php 5, as I will upgrade the server this year
- the script *cannot timeout*.. must run until all emails are sent.
- I need to be able to setup the email template, something like:
Your website $sitename have now $hits hits and ....
( .. so the script must be able to read some database fields to personalize each email )
- the script must send a simple report at the end of the mailing to the admin with the following information:
a) time of start
b) emails sent
c) time of end
- maybe it's a good ideia to have a simulation mode so we can test it before the real mailling
Thank you for your bids on this one