Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- send email with schedule
December 22, 2005, 4:48 pm
rate this thread
I want to create an option to the user to suscribe to a service that
sends an automatic mails everyday with information taken from a
database created in MySQL.
I have the form and the access with PHP to the database and I can send
an automatic mail at the moment that the users press a button to
activate the action, but I do not know how to do it everyday (or the
period of time chosen by the user).
Any help will be appreciatte.
Re: send email with schedule
i.e. "php -q mailit.php > /dev/null". You'll want to google on how to
modify cron jobs if you're not familiar with cron. It basically allows
you to schedule events based on time and date. It is well suited for
daily tasks like this one.