Is it possible to initiate a php script through email. Example would be having people email in a keyword followed by an input and having a php script input that information into a mysql database. The real goal here is to let people reply to a phone text message sent through email by php and having it post their reply to a database.

Thanks for your help,

~Matt

    If you have the control of the mail server, you could create an email address that no-one uses and pipe all mail to a php script.

    Or if you have even further control, and you happen to be using maildrop, you could pipe it from the maildrop file.

      I control the mail server, and I can create unique email accounts that would be dedicated to this activity. Is there any examples or tutorials on how to pipe mail to a php script?

      Thank you.

        Consult your mail server's documentation.

          Write a Reply...