Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2010
    Posts
    1

    Default Piping email to script question.

    I do not want to forward email, but rather just add it to a queue and also receive it at the email address. I understand I probably have to use forwards.

    Should I add two forwards:

    email@domain : | php -q -n /home/USERNAME/public_html/SCRIPT.php
    email@domain : email@domain

    Or is there a better way to do it?

    Thanks.
    Last edited by SosyMe; 06-07-2010 at 03:04 AM.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2006
    Location
    Virginia Beach, VA
    Posts
    254
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    You should create an email address AND a forwarder, so the email is delivered to the inbox and piped to the program.

Similar Threads & Tags
Similar threads

  1. Email piping to a php script fopen disabled
    By broncha in forum cPanel Developers
    Replies: 5
    Last Post: 08-28-2011, 05:51 AM
  2. Email Piping to script works, but sender gets an error message?
    By itzhero in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-24-2010, 12:50 PM
  3. Pass a variable to PHP Script when piping msg to that script?
    By doni49 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-02-2007, 06:52 PM
  4. eMail Piping to perl script PLUS copy to specific pop account (via cPanel)
    By cards4success in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-02-2004, 05:41 AM
  5. Replies: 1
    Last Post: 06-20-2003, 01:57 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube