Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cpanel: email filter option--email to script

Discussion in 'E-mail Discussion' started by bobw, Jan 22, 2005.

  1. bobw

    bobw Registered

    Joined:
    Jan 22, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    I would like to use the Cpanel email filter option that sends an email to a script. I want to process the email and file parts of it in a database. I will be using a PHP script.

    My question is -- how do I access the email?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    You need to:

    1. Make sure that there's no POP3 Mail account for the email address (unless you want email delivered to that too)

    2. Create a Forwarder (alias) and set it to the full path of your script prefixing it with the pipe symbol | like this:

    |/home/username/public_html/myscript.php
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice