faqts : Computers : Programming : Languages : PHP : Common Problems : Email

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

21 of 43 people (49%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

How can I use PHP mail with the crontab command in Redhat Linux 7 to send mail on a specified date?

Mar 27th, 2001 00:23
Dave Kingdon, DUY DO PHAN, Ben Udall,


Quite simply.
1.  Make a PHP webpage that sends the mail out to people.
2.  Set up a cron job that calls lynx or something and give it the URL 
of #1, and set it to run at certain times.
That will turn the PHP page into a mailer for you.
Dave