Sending mail automatically.
Posted on 2001-06-05
Currently on my website i'm using PHP and MySQL. What I would like to do is have sendmail on my Linux server send out mails automatically according to a date stored in MySQL.
Date: June 24, 2001
When the day rolls around to June 24, my PHP script will email out to everyone of the above activity. It should be all automated and nothing done after initial entry. I guess the problem i'm having is: how do I build my PHP script so it runs in the background and only sends once. I'm not sure if this is PHP / MySQL issue OR if it's a sendmail issue.
Can anyone help me shed some light on this?