36

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.

3
  • 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, 2009 at 15:00
  • 2
    I am looking for everyone I ever emailed... technically, everyone's email address that is still in my sent emails (and not deleted). Oct 5, 2009 at 0:36
  • Just to add that if you are using outlook on a mac the only option seems to be to go through Mail. This worked for me: superuser.com/questions/192227/… Jun 28, 2015 at 8:40

3 Answers 3

50
+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
8
  • 6
    In Outlook 2010, the Import and Export Wizard is located under File -> Open -> Import. Feb 14, 2012 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). Feb 14, 2012 at 23:17
  • 2
    The Export Wizard is in Import? Did I miss a meeting? Jun 14, 2013 at 7:57
  • 2
    Import/Export functions, PST files, Archive function could be disabled by Policy rules… Dec 18, 2015 at 12:35
  • 1
    Outlook's 2013 Export to CSV doesn't output SMTP addresses of the Exchange contacts. Is there a viable workaround for this? Jan 12, 2021 at 6:31
6

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

4
  • 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, 2009 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. Oct 4, 2009 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, 2012 at 19:04
  • I wanted to add that starting with Outlook 2013, the auto-complete addresses in the .nk2 file becomes part of the default pst file. Nov 25, 2014 at 5:55
3

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

1
  • 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). Feb 13, 2012 at 17:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .