pipe an email

From: Date: Tue, 22 May 2001 15:40:31 +0000
Subject: pipe an email
Groups: php.general 
Request: Send a blank email to php-general+get-53873@lists.php.net to get a copy of this message
hi all, could someone help me with this prob ... i wanna pipe an emails' sender, subject and body ... ( mailalias --> programm(script) ) any ideas how this could be done the *best* way? ---------------------------------------------------------------------------- #!/usr/local/bin/php -q <? $pipe = fopen("/dev/stdin", "r"); while(!feof($pipe)) { // pipe the mail's sender, subject and body ... } fclose($pipe); ?> ---------------------------------------------------------------------------- regards attila

« previous php.general (#53873) next »