Hi all,
I want to set up a delivery date and time for emails to be sent. (I'm using phpmailer)
I'm coming up blank on how to do this. I thought that I could put a timing condition on a page that I know will be accessed daily that would look for the date then call the function that will do the mail outs on the appropriate date, but there has to be a better way.
Sure.
Is this something that I'll have to do outside of php?
Not necessarily outside of php, but outside of webserver. You need to setup a cron job that will execute the phpmailer script.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php