On Wednesday 26 March 2003 22:31, Steve Jackson wrote:

> After much searching I found this
> http://marc.theaimsgroup.com/?l=php-general&m=104210703824057&w=2
> This
> http://marc.theaimsgroup.com/?l=php-general&m=104219587732145&w=2
> And others with process in the body and subject line but not any of the
> thread you refer to.

OK, the latter thread explains pretty much what you need to do if you're using 
sendmail as your MTA. But no matter what MTA you're using, the PHP script is 
going to be more or less the same:

1) read in the email through STDIN
2) parse it
3) do whatever you need with the data

How you invoke this script depends on what MTA you use. For example with qmail 
you just create a dot-qmail file with the following line:

| /path/to/your/script.php

Similar mechanisms exists for courier-mta and postfix.

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
The revolution will not be televised.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to