Re: Piping new email to a PHP file
| From: | raditha dissanayake | Date: | Sun, 23 May 2004 04:04:29 +0000 |
| Subject: | Re: Piping new email to a PHP file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186779@lists.php.net to get a copy of this message | ||
John wrote:
Hi, I'm sorry if this has been asked many times before but how do I pipe new email to a file instead of to a mailbox? I tried adding an alias to a file, but it bounced and said 'Can't write output', then I tried to pipe it to a program (the php interpreter) like this Which mail server are you using?
"|php /home/php-script.php" and that didn't work either. this seems correct but there may be other issues such as permissons that come into the picture. if you are using qmail as your MTA you will find loads of sample if you include '.qmail' or 'dot-qmail' in your search query.-- Raditha Dissanayake. --------------------------------------------- http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits.