Re: Piping Mime String to Metamail Fails

From: Date: Fri, 13 Jul 2001 20:45:07 +0000
Subject: Re: Piping Mime String to Metamail Fails
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-57803@lists.php.net to get a copy of this message
On 13-Jul-01 Jeff Hill wrote: > Don Read wrote: >> On 13-Jul-01 Jeff Hill wrote: >> > I've tried everything I can to pipe a string with mime content to >> > metamail, but it fails in every variation of: >> > >> > exec("echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ", >> > $met_res) ; >> >> what about "/bin/echo ..." > > Nope, but I do appreciate the thought. Using "/bin/echo" just results in > $met_res becoming an empty array, as does my example string. > Huh ? $cmd='/bin/echo' ." $mime_string | /usr/bin/metamail -d -q -r -w -x -y "; echo ' cmd is:<br>', $cmd, '<p>'; fpassthru($cmd); Regards, -- Don Read dread@texas.net -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it.

« previous php.general (#57803) next »