Page 1 of 1

Some Help !!! send automatic mail ????????

Posted: Wed Jul 16, 2003 5:22 pm
by maceved23
Hi I´m developping an aplication, to post resumes un the WEB.

I have a quiestion, in my DB I have the date of registration for my users, now I need to send an automatic email to each user depending of the date of registration.

Example:

If a user send my form on 16-07-03, an automatic email telling him some news is recieved 2 months after the registrstion.

So each user is going to recieve the mail 2 months after the registration.

I think I need to have an aplication that cheks each day for example at 2am for my date of registration......

Could some one help me???????????

Thanks Mario


Posted: Thu Jul 17, 2003 1:06 pm
by jamesm87
yes... its called a cron job. If you understand PHP and apache you can simply do it. If not your stuffed, or we could help ;-)

Posted: Thu Jul 17, 2003 5:14 pm
by nigma
If you are currently setup on windows you can just make a PHP script that checks to see if it has been two months since a user has registered.

THEN, go to Start -> Accessories -> System Tools -> Schedule Task

and setup a task that opens up IE (or or whatever browser you use) and calls your PHP script.

You follow?