Re: PHP Email....

From: Date: Thu, 12 Jun 2003 10:22:36 +0000
Subject: Re: PHP Email....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-151219@lists.php.net to get a copy of this message
On Thursday 12 June 2003 18:12, Brian McGarvie wrote: > I have a question about automated email: > > In my sendmail configuration i have: > > Alias: Testit > Feeds to Program /usr/local/bin/php > /usr/local/apache/sites/xxx.com/tasks/automail/test.php > > testit is set up to an address, so if i send to testit@xxx.com the above is > indeed ran, my question is how in the test.php can i access the original > email that triggered it? > > Any clues would be much appreciated :) Assuming that your sendmail alias was setup properly then the whole email will be available in STDIN, see manual > Using PHP from the command line for details. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* If you sell diamonds, you cannot expect to have many customers. But a diamond is a diamond even if there are no customers. -- Swami Prabhupada */

« previous php.general (#151219) next »