PHP Perform Action with Incoming Email
I'm building a photo sharing website (just testing PHP stuff) and I want users to be able to submit photographs using email. For instance, the website needs to run a script when the users sends an email with an image attachment and text in the body. The image would be uploaded to the server, and a new "photo post" would be created with the text in the email body being the description. My question is, how do I tell my server to run a script automatically when email is RECEIVED? Any/all help is greatly appreciated. If you would like more info, just comment! Thanks! -Giles If you use cpanel you