Welcome Guest, Not a member yet? Register   Sign In
How to get an email to trigger an HTTP request (or otherwise execute some function in PHP)
#2

[eluser]ggoforth[/eluser]
On my web server which uses cPanel, I have the option (under mail forwarders) to "Pipe to existing program". This "pipes" the email to a specific PHP script that will need to parse the email and then do something with the pieces. I think this would be your best bet, as it doesn't involve polling. It will all happen as soon as the email hits the server and the server pipes the email to the waiting PHP script.

Greg


Messages In This Thread
How to get an email to trigger an HTTP request (or otherwise execute some function in PHP) - by El Forum - 11-24-2009, 05:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB