Simple code to allow you to pipe an email to PHP using Forwarder setup with cPanel. You can use by setting up a new Forwarder and using Advanced options.
To pipe you will need to enter this in the box requires changing the root to your PHP file.
/usr/bin/php -q /home/user1/scripts/pipemail.php
pipemail.php must have permission 0775
Contents of pipemail.php are as followed
Make the Best of Your Brand
We offer Website Design & Development, iOS App Development and can even help with SEO & Online Marketing