Re: Timing on an internal email
| From: | Sean Smith | Date: | Wed, 08 Sep 2004 21:53:09 +0000 |
| Subject: | Re: Timing on an internal email | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196176@lists.php.net to get a copy of this message | ||
You can have the php script written so that it performs the functions you want then setup a cron job to run that script at a given time or interval. I do this with daily and weekly operations now. It works great.
Alex Hogan wrote:
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. Is this something that I'll have to do outside of php? alex hogan