Is it possible to "harvest" email addresses from the email messages in an Outlook 2007 inbox with 1000's of emails?

Prior to deleting thousands of emails from an Outlook 2007 inbox I would like to capture/save the following info from each email:  person's name, email address, and other info like company name, street address.

Similarly, is there a way to save all of the attachments without saving each one individually?

Thanks.
LVL 1
Rich ThomasOwnerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
You can use a program such as message save to save the emails as msg and the attachments separately.

When they are in MSG format, you can use Filecats Professional to Extract MSG metadata, such as recipients, into a table or spreadsheet.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pcelbaCommented:
It is much easier for programmers... Outlook supports OLE Automation so you may execute Outlook from almost any programming tool by the following command:

CREATEOBJECT(“Outlook.application”)

and use the object created for whatever you need incl. addresses harvesting. Everything you need is a simple loop which will go through all inbox messages and stores addresses to some database table for the future use. Easy task for beginners.

Code samples exist:
FoxPro - http://www.aksel.com/whitepapers/OutlookAutomation.htm
C# - http://support.microsoft.com/en-us/kb/819398
VB - https://msdn.microsoft.com/en-us/library/office/ff865816.aspx
Python - http://win32com.goermezer.de/content/category/7/86/192/
MS Access - http://www.experts-exchange.com/Database/MS_Access/VP_179.html
etc.

Outlook object model also supports attachments so you may save them during the addresses harvesting. The work with Outlook via automation is similar no matter what programming language you use. The code from one language is easily portable into another language.
Rich ThomasOwnerAuthor Commented:
Since I am not a programmer pcelba's comment is beyond my pay grade.  I understand Phillip's solution but I was hoping to find something simpler and more direct.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

pcelbaCommented:
Paygrade?  Well... depends on the country where you are making the money :-).
Even relatively low US paygrade could mean high paygrade for India, Ukraine etc.
So you may outsource the task (e.g. here: https://www.freelancer.com/work/programming-contract-bid)
or take some programming lessons which could elevate you to the higher grade.
Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
my solution is fairly direct, and simple to do.

One program to extract attachments and MSGs, and to harvest the details.
Rich ThomasOwnerAuthor Commented:
I looked at their website.  They have a download before you try option so I could take a closer look at this.  Sometimes the limitations are such that it's hard to tell whether the software will do what you want.  I would assume that this software would be a "1 computer per license"  so I may have to buy a couple of copies as I have a couple of computers with these crazy big pst files.  Do you know?
Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
If they are in PST files, then you can open them on a single computer, just like you can more than one Word document on a single computer.
David LeeCommented:
Hi, RMThomas8.

If a scripted solution is acceptable, then see this page on my blog.  

https://techniclee.wordpress.com/2011/08/25/harvesting-all-email-addresses-from-an-outlook-mailbox/
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Clients

From novice to tech pro — start learning today.