Hello,
I am using qmail and am attempting to have an email trigger a php
script and process the contents of the email upon receipt.
I have created the .qmail-address file which contains the following:
|/usr/bin/wget -q http://www.domain.com/script.php
The part I a stuck on is how to pass the
If I remember correctly (it's been a while) the contents gets passed
through STDIN to in this case wget, it'd be better to call the script as:
|/usr/bin/php -q /path/to/script.php
or put:
#!/usr/bin/php at the top of your script and call as:
|/path/to/script.php
and use: (i forget the exact
2 matches
Mail list logo