Find the answers to your questions and get the support you need with the VentraIP help centre.
How to pipe an email to a script
Sometimes you might want to pipe an email to a script. Here are the steps you need to take, in order to do this within cPanel.
- Log in to cPanel.
- Click on Email Filters under Email.
- Click on Manage Filters next to the email address you want to set up your filter/pipe on.
- Click Create A New Filter.
- Fill out the fields as follows:
- Filter name: Set a unique name for your filter, so you can easily discern it from others in the past.
- Rules: This is where you will decide how the filter is activated (e.g. when an email comes from X address).
- In the drop-down menu under Actions, select Pipe To A Program.
- In the field below, input the path to your script like so (this example is for piping to a PHP script).
- Click Create to finalise.
We Are Here to Help You
Get in touch with one of our local experts at any time.