Re: Timing on an internal email

From: Date: Wed, 08 Sep 2004 22:11:38 +0000
Subject: Re: Timing on an internal email
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196177@lists.php.net to get a copy of this message
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.
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.

« previous php.general (#196177) next »