Re: Parsing received email

From: Date: Wed, 10 Oct 2001 02:28:34 +0000
Subject: Re: Parsing received email
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70575@lists.php.net to get a copy of this message
On Wed, 10 Oct 2001 04:35, JSheble wrote: > this intrigues me... how do you get an email to go to and/or run a PHP > script... this opens all kinds of possibilities... what is required > for this? No secret, just use (for sendmail or qmail) an alias to pipe the email to the script. For example, I use this to feed incoming mails to Mhonarc to create an archive: einet:"|/usr/local/bin/mhonarc -add -rcfile /usr/local/etc/mhonarc/einet.mrc -out dir /usr/local/apache/htdocs/einet" all on one line of course; under sendmail that goes in the /etc/aliases file, then you run newaliases to build the alias database. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA The world is coming to an end... save your buffers!

« previous php.general (#70575) next »