Hi
I have a winzip file that's got over 300 emails (.eml files).
I need to extract the email address from them, and insert them into a MySQL database.
Apart from doing one by one, which I am NOT doing, anyone got any idea how to extract them all?
This isn't really a PHP query, but someone here in PHP might have come across this and knows a way to do it.
Extracting Email Address from .eml file: PHP app available?
Moderator: General Moderators
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Extracting Email Address from .eml file: PHP app available?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: Extracting Email Address from .eml file: PHP app available?
If the .eml file is text you could just use regex statements to extract email addresses from it. If it isn't plain text, maybe you could find a tool on the internet to convert it to plain text.