PDA

View Full Version : Automatic e-mail depending on values in a certain column


Yay
02-03-2010, 05:07 PM
Hi,

I was wondering if there was a script/any way in which I could send out automatic e-mails, if the value in a certain column was equal to or more than a certain amount (say 10)?

I understand that PHP will, of course, have to be used.

Any solutions/help is appreciated.

Thanks

angst
02-03-2010, 05:55 PM
you could setup a cron job to monitor the column once an hour and send out emails if needed.

http://php.net/manual/en/function.mail.php