The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cpanel: email filter option--email to script

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

  1. bobw

    bobw Registered

    Joined:
    Jan 22, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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
     
Loading...

Share This Page