Hi, I've looked around and cannot find an answer to this. I want every email that comes in to a certain email address to get stripped of everything but the subject and email address and get stored into a MySQL database. First, is this possible? If so, how? If someone has an answer, awesome. Or I would appreciate the correct phrasing to perform an internet search on my own. I'm not sure how to phrase the question. "Grab" or "Extract"? I would guess that I would have to route all incoming mail through through the mail server, then processed through a script. Not sure.

Any help or direction is greatly appreciated!


7 Years
Discussion Span
Last Post by GreaseJunkie

First of all you need email access information of accounts you want to grab.
It can be done using PHP IMAP.
Check this link
Once you have emails in php variables insert into your mysql database.
Hope this helps.

Votes + Comments
Dead-on response to my needs!
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.