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

Recommended Answers

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 …

Jump to Post

All 2 Replies

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.