470,631 Members | 1,572 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,631 developers. It's quick & easy.

send email with schedule

Hi Friends!!!

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.

Best regards,

Zek!

Dec 22 '05 #1
2 3306
You will want to do this in a cron job and using command line php.
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.

Dec 22 '05 #2
zek2005 wrote:
Hi Friends!!!

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.

Best regards,

Zek!

You can do this with either PHP or perl, scheduling the job ahead of time.
Dec 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by lhansen | last post: by
reply views Thread by Fred | last post: by
1 post views Thread by greg7224 | last post: by
2 posts views Thread by Erik Witkop | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.