Walter
|
| Posted: 04/11/2002, 2:34 PM |
|
Hi all,
I was wondering if anyone knows how to have an e-mail sent out automaticaly on a particular date to e-mail address' stored in a table of the database? In other words lets say you want to let all members of a particular pay site to know when their membership will soon expire. I am using mySQL and Perl or PHP.
Thanks,
Walter
|
|
|
 |
Andrew B
|
| Posted: 04/11/2002, 7:43 PM |
|
More important is what OS you are running on. If it is *nix you can set up a chron job to run a page that generates the emails. It will do this on a timed basis. On windows, task scheduler will work. If not, I am pretty sure there are a few 3rd party pieces of software out there that will run a program (web page) on a timed basis for you and even close the window down when they are done.
Basically, you need to make a page that sends out the desired emails. Then, you set up a timed job in whatever program you are using to call that page. PHP won't do it for you automatically.
|
|
|
 |
Walter
|
| Posted: 04/12/2002, 12:46 PM |
|
Andrew B,
Thanks for the info. It will be running on a Linux box with Apache server but I am not the host. I don't know if they will let me run such a program on their surver or if they already have one I can access. Thanks for your help, I'll check into it.
Thanks again,
Walter
|
|
|
 |
|