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!

GJ

Hi,
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.

commented: Dead-on response to my needs! +1

It really does help! That is exactly what I was looking for. Thank you!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.