Re: Piping Error

From: Date: Sun, 18 Jul 2004 21:42:26 +0000
Subject: Re: Piping Error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190937@lists.php.net to get a copy of this message
It could possibly be the return value of the script. It could also be that some "blank" output is happening. Try adding this to the command line: > /dev/null 2>&1 This will send all output to /dev/null and send all error output alto to /dev/null. On Sun, 18 Jul 2004 12:57:04 -0700, Jason Williard <jasondubya@gmail.com> wrote: > I am working on creating a tool that processes mail for a support > system. The script works, but still sends a bounce message. > > Code: http://www.janix.net/test/mail.phps > > When the script processes the e-mail, it sends a bounce with the > output of the script. I got rid of the output in the bounce by adding > -q to the first line, but I still get the following error in the > bounce. > > ------------------------- > This message was created automatically by mail delivery software. > > A message that you sent could not be delivered to one or more of its > recipients. This is a permanent error. The following address(es) failed: > > pipe to |/home/janix/www/test/rcvmail.php > generated by test@janix.net > > The following text was generated during the delivery attempt: > > ------ pipe to |/home/janix/www/test/rcvmail.php > generated by test@janix.net ------ > ------------------------- > > The server uses Sendmail. Does anyone have any idea what is causing > this bounce and how I can fix it? > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

« previous php.general (#190937) next »