JustinK101 Posted August 16, 2007 Share Posted August 16, 2007 Hello, My goal is to allow users to send an email or even text message one word commands to a mailbox such as: To: mobile@mydomain.com BODY: UPDATE I then need to parse all incoming mail into the email account 'mobile' and find the keyword. If I match a keyword, then run a MySQL query via PHP. I guess my first big problem is how can I parse a pop3 mailbox and look for incoming mail, once that is done, I need to be able to run PHP code. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/65167-parse-incoming-mail-for-a-pop3-mail-box/ Share on other sites More sharing options...
keeB Posted August 16, 2007 Share Posted August 16, 2007 A threaded language like Java/Python is much more suited for constantly pooling a pop3 box, you can then pass the data on to a PHP script to do with it as you will. That would be my approach, anyway Quote Link to comment https://forums.phpfreaks.com/topic/65167-parse-incoming-mail-for-a-pop3-mail-box/#findComment-325377 Share on other sites More sharing options...
JustinK101 Posted August 16, 2007 Author Share Posted August 16, 2007 DO you have any tutorials or how this is done using Python or Java? I canot locate much doing a google. I would prefer to use PHP though because I know it. Quote Link to comment https://forums.phpfreaks.com/topic/65167-parse-incoming-mail-for-a-pop3-mail-box/#findComment-325382 Share on other sites More sharing options...
JustinK101 Posted August 16, 2007 Author Share Posted August 16, 2007 Bump, any other ideas? Quote Link to comment https://forums.phpfreaks.com/topic/65167-parse-incoming-mail-for-a-pop3-mail-box/#findComment-325461 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.