cholt123 Posted February 7, 2007 Share Posted February 7, 2007 is it possible to have a script read/recieve an email and going off the content such as subject perform an action? If so how do you set it up to read an email? Quote Link to comment https://forums.phpfreaks.com/topic/37544-help-please/ Share on other sites More sharing options...
Jessica Posted February 7, 2007 Share Posted February 7, 2007 I don't think it is. Perhaps there is an easier way - like setting up a cron job or something? What are you trying to do? Quote Link to comment https://forums.phpfreaks.com/topic/37544-help-please/#findComment-179501 Share on other sites More sharing options...
roopurt18 Posted February 7, 2007 Share Posted February 7, 2007 Set up two cron jobs. The first is a shell script that checks for new email and sticks it into a file. The second is a PHP script that checks for that file and does stuff with the information in it. (EDIT) Or just execute the PHP script from within the shell script and use only cron job! Quote Link to comment https://forums.phpfreaks.com/topic/37544-help-please/#findComment-179504 Share on other sites More sharing options...
ShogunWarrior Posted February 7, 2007 Share Posted February 7, 2007 If you have Cpanel I believe you can forward incoming mail to a CGI file. (Not sure if PHP will work) E.g: You could forward [email protected] to mailHandler.cgi Quote Link to comment https://forums.phpfreaks.com/topic/37544-help-please/#findComment-179507 Share on other sites More sharing options...
cholt123 Posted February 9, 2007 Author Share Posted February 9, 2007 Basically I am trying to have the ability for some one to reply to a email/textmessage to a yes or no question, if the answer is yes it will update the status of the database Quote Link to comment https://forums.phpfreaks.com/topic/37544-help-please/#findComment-180484 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.