Daniel Schönherr
Daniel Schönherr

Reputation: 235

How to trigger a PHP Script with an Email?

Goal:

Problems:

so if you know web-services similar to smtp2web.com or some other strategy - please let everybody know. Thank you!

Upvotes: 1

Views: 1345

Answers (1)

Grant
Grant

Reputation: 2441

If you on a linux box, setup an alias in the aliases file:

alias: "|/path/to/script/script.php"

The script will run whenever an email is sent to the [email protected]

The aliases file is in: /etc/

Upvotes: 1

Related Questions