Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to export a list of email addresses of people I have previously sent mail to. I don't think there is a way to do this without an add-in.

I tried a tool called Gwabbit and it did not do what I needed.

There are some answers here based on the NK2 file and utilities that read it, but it's not the solution because the NK2 file will not always have every recipient you've ever emailed for the following reasons:

  1. You can edit it (simply by deleting a suggested contact as it pops up)
  2. It's unique to your profile (each login on each device, not counting roaming profiles), so if you use multiple machines/devices it doesn't get all recipients.

What I really want is to go through all the sent mail, optionally my received mail too, and harvest all the email addresses in there.

I initially wrote this question for Outlook, but if there is an app or utility that will do this outside of Outlook, it's worth migrating mail, even if just for this one time need.

share|improve this question
    
Are you really looking for everyone you emailed ever or are you looking for the names that are automatically completed when you type something in the To: field? –  djhowell Oct 2 '09 at 15:00
    
I am looking for everyone I ever emailed... technically, everyone's email address that is still in my sent emails (and not deleted). –  Chris Adragna Oct 5 '09 at 0:36

3 Answers 3

up vote 13 down vote accepted
+25

Basically you can use the Outlook Import/Export function to achieve this. It's typically used to migrate the actual emails, but it suits the purpose of getting just the email addresses (or any other value for that matter).

Here is how to do it in Outlook (version 2007):

  • Click on 'File', 'Import and Export' to open the Wizard
  • Select 'Export to a File' [then click Next]
  • Select 'Microsoft Excel 97-2003' or a CSV file [click Next]
  • Select an Outlook folder [Next]
  • Click on Browse to select a location and then type the file name to export the information to (terminated by .xls) [Next]
  • Click on Map Custom Fields. This will bring up a list of all the available fields that are available in that folder.
  • Since we are only interested in Email address, click on Clear Map and then from the Left side click on From: (address) and drag that to the Right list
  • Click OK
  • Click Finish
  • Open the output file using Excel and remove duplicates
share|improve this answer
4  
In Outlook 2010, the Import and Export Wizard is located under File -> Open -> Import. –  Oliver Salzburg Feb 14 '12 at 18:47
    
Why didn't I think of that?! I'll try it. Thanks. If it works, I'll mark your response as the answer (and reward the bounty). –  Chris Adragna Feb 14 '12 at 23:17
    
Hi Harry. I'm a day late. :-) Thanks! –  Chris Adragna Feb 22 '12 at 21:31
    
The Export Wizard is in Import? Did I miss a meeting? –  Matthew Lock Jun 14 '13 at 7:57

There's a file called something.NK2 - this lists all of your autocomplete addresses. You can basically copy and paste the file and viola your new outlook has your old autocomplete. I'm sure that file can be read too, try googling .NK2 reader.

http://office.microsoft.com/en-us/outlook/HA011394511033.aspx

share|improve this answer
2  
nk2view from nirsoft.net/utils/outlook_nk2_autocomplete.html will do the viewing job, allowing export to a variety of formats –  Bonus Oct 2 '09 at 15:45
    
Well, I think that's a decent solution (I hadn't thought of that approach). The problem with it is that I've had several PCs and Outlook profiles over the last few years, so I won't have an NK2 file which represents every email address I've sent mail to over all time. Nonetheless, a good way to get much of what I need. –  Chris Adragna Oct 4 '09 at 15:22
    
shouldhave: If there is a +50 REP bounty on this question, you may want to Google .NK2 reader, so @ChrisAdragna doesn't have to. –  wizlog Feb 17 '12 at 19:04

Okay.. this is a bit complex example, but see "access outlook stuff with perl".

And you'll need cygwin with perl.

If you know how to code it should be straight forward to adapt code from the message threat to print out email addresses in to a csv file.

ActivePerl

cygwin

Small cygwin+perl howto

share|improve this answer
    
Very helpful. It will require some scripting, but without another/better answer, this will get me what I need. On the main link, it mentions getting the data out of a PST. I wonder if the same will work with OST (offline PST) or no such file at all (such as server based mail). –  Chris Adragna Feb 13 '12 at 17:00

protected by Community Aug 27 at 7:35

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.