Guest Posted October 13, 2009 Share Posted October 13, 2009 Hi all, I've looked around various sites, looking at sample code and suggested solutions but still having trouble understanding what to do. I would like to parse an email using PHP to a mysql database. I've read tips on how to configure apache, and how to run scripts, but i'm not able to get these examples to work. I intend to send an email from my phone/web client etc to a dedicated address on my account (parse@email.com... etc). Then, I'd like to be able to strip out the body of the email, containing the text of my choice, and insert it into a mysql table row. I'm finding it difficult - firstly understanding how to configure apache etc and secondly, what the php code would look like to receive the incoming mails, and strip out what I need to a database. Any ideas Guru's? Thanks in advance, Chris Quote Link to comment https://forums.phpfreaks.com/topic/177582-parse-an-email-to-mysql-database/ Share on other sites More sharing options...
gizmola Posted October 13, 2009 Share Posted October 13, 2009 You need to break down your questions into seperate threads -- one question per thread. Don't by any means take this to mean you should immediately launch 10 new threads now. So it seems your first question is -- how do you get PHP installed with Apache? What operating system? What do you have working so far? Does apache work? Do you have a vhost setup that answers and returns you a default page? Is PHP installed? Have you created a simple phpinfo() page and attempted to access it? Quote Link to comment https://forums.phpfreaks.com/topic/177582-parse-an-email-to-mysql-database/#findComment-936325 Share on other sites More sharing options...
plznty Posted October 14, 2009 Share Posted October 14, 2009 So you would like the email to be sent and also saved into a SQL table in a php file? Quote Link to comment https://forums.phpfreaks.com/topic/177582-parse-an-email-to-mysql-database/#findComment-936760 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.