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)
#3

[eluser]BrianDHall[/eluser]
[quote author="ggoforth" date="1259126035"]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[/quote]

Cheers to you sir! I was wondering about such functionality as well, and this solves it! On CPanel it is "Forwarders" under the Mail heading.

This could be used for receiving input via SMS, as most people can send a text message to an email address for the same price as a regular text (zero if you have an unlimited plan).

Very handy!


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, 06:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB