PHP Perform Action with Incoming Email -
I am creating a photo sharing website (just testing PHP content) and I want to be the user Can submit photos using email.
For example, the website needs to run a script when users send email in an attachment and text to the email. The image will be uploaded to the server, and a new "photo post" will be created in the text with details in the email text.
My question is, how do I tell my server to run? Is the script automatically received when you receive an email?
Any / all help is greatly appreciated if you want more information, just comment!
Thank you! -like
If you use cpanel, you can pipe the email to a script According to which the email process is done. You can find that option under Email Forwarders.
Comments
Post a Comment