Well a few ways you can do it... how precise does it need to be?

You can have PHP write the mails to files with the time to be sent in then or in the 
filename; like somerandomstring.200301021545
Run a script from cron that would look at the files, parse the time and if it's time 
to send them just direct them into sendmail.

If you cant get to cron or to write scripts on your server.
You can always put some include in a busy page of your site. Put it at the end after a 
flush call.
But of course in someone wants his mail at 03:00 and you donrt have much traffic it 
might be late.
It can check for the files and mail the contents if it needs to.

Might also be otherways but that's one.

Hope this helps...

Mike



*********** REPLY SEPARATOR  ***********

On 02/01/2003 at 10:48 PM Randy Johnson wrote:

>Here is what i need to do.

>

>I have a form where a user will submit, email address, email text and a
>time
> like 11:15pm  and at 11:15pm the email is supposed to be sent out.   any
>ideas on how i can make this happen automatically???

>

>

>Randy
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to