I have been looking around for a solution to this, i have been developing for a wile though am very new to CGI, PHP and a lot of the web based tech.
I have a web site hosted with a cPanel web host.
I am looking to have a script(prefer PHP) to run everytime i get a new email to
help@xxx.com. The script that i was hoping run will update some vars on a sql data base.
I know how to accomplish all the tasks with PHP, the only part i am trying to figure out is how to tell my web server to run the script when a new email is received.
currently running a cron job and would prefer to not run the script every min and only when relevant.
Don't need a solution i like to do my own work, a point in the right learning direction would be nice.