Outlook and OE address book support in Thunderbird

Mozilla Thunderbird and SeaMonkey (and even the Mozilla Suite and Netscape 7) can actually be set up to use your Outlook Express address book, and/or your Outlook Contacts list. It’s just another one of those features that are not in the user interface.

To make Thunderbird use your Outlook Express address book, close Thunderbird, and add the following lines to your prefs.js file:
user_pref("ldap_2.servers.OE.description", "Outlook Express");
user_pref("ldap_2.servers.OE.dirType", 3);
user_pref("ldap_2.servers.OE.uri", "moz-aboutlookdirectory://oe/");

For Outlook Contacts, use these lines:
user_pref("ldap_2.servers.Outlook.description", "Outlook");
user_pref("ldap_2.servers.Outlook.dirType", 3);
user_pref("ldap_2.servers.Outlook.uri", "moz-aboutlookdirectory://op/");

One important note: in order for it to work with Outlook, Outlook must be set as the system default mail client.

Interestingly enough, it appears this feature goes back to Mozilla 1.0.

48 Responses

  1. hwolters March 1, 2006 / 11:32 pm

    bueno- a question- the history of sites visited is now saved in my search line and I don’t want them there. What can I do to delete em? thks harry of bisbee arizona

  2. Anonymous March 2, 2006 / 9:08 am

    Is there a similar bit of code in Thunderbird to make it use Evolution on Linux for the address book? That’d be really spiffy.

  3. Matt March 6, 2006 / 12:22 pm

    I find doing this makes name lookups extremely slow. Does anyone else find this?

  4. Matt McClure March 15, 2006 / 1:54 pm

    This is a great feature. I had tried it as far back as Thuderbird 0.5. Unfortunately, it still (Thunderbird 1.5) suffers from the same two drawbacks that prevented me from using it then.

    (1) As Matt said, accessing the Outlook contacts from Thunderbird is hideously slow. It takes over 15s to do an address completion in my compose window. And there’s no UI feedback to tell me what’s going on.

    (2) I want Thunderbird to be my default email program. XP has a default Contact List program in the Internet Options control panel. Why can’t I set that to Outlook and leave the email program set to Thunderbird?

  5. Matt McClure March 15, 2006 / 1:58 pm

    PS. While I’m ranting, why the hell does Outlook have to be my default email program in order to import contacts from Outlook in Thunderbird?!?

  6. Alen August 14, 2006 / 6:02 pm

    This does not work on my computer at all. Thunderbird is not searching Outlook contacts. Is there anything I can do?

  7. waanz August 22, 2006 / 7:26 am

    you need to quit all mozilla apps before you edit the prefs.js file, including firefox…

  8. monko August 27, 2006 / 12:51 pm

    Ouch, not supported in 1.5 – Thunderbird sees these lines as evidence of a corrupt prefs.js and so wipes it clean as if installing from scratch, leading to all kinds of pain! Do not try without backing up the prefs.js file!!!

  9. Shivam August 28, 2006 / 2:25 pm

    I learnt the same thing after trying a couple of times. Any alternatives for 1.5 ?

  10. Frank September 6, 2006 / 5:40 am

    I have my Outlook addresses/contact on another PC and I want to transfer them to my new PC which is using Thuderbird. Please advise. Thank you.

    Frank

  11. NT November 1, 2006 / 1:03 pm

    This page at Mozillazine claims we should use the user.js file for tthis, instead of prefs.js. Which is it? Does it matter?

  12. Yves December 26, 2006 / 11:06 am

    Two remarks:
    1. Connection to Outlook address book is impossible if there is a password associated to your Personnal Folders File (.pst).
    2. With Oulook Unicode .pst-file, no search can be done with Seamonkey (1.0.7). It shows an empty result, then crashs !

  13. gsinnott December 31, 2006 / 10:18 am

    Bless you Chris. Easily done. Very important feature.

  14. Milan January 28, 2007 / 8:15 am

    Very interesting! Had no idea that Outlook Express address book can be accessed through ldap! This means that conversion of address books is much easier job then I thought I might write a freeware utility to do this.
    Which ldap direcvtories are being used on Mac?

  15. doug February 5, 2007 / 12:56 pm

    This works to read Outlook contacts. Anyway to modify entries and have it store back to Outlook contacts (e.g., Mozilla Address Book will not post changes back to OP address book)?

  16. Hilton March 14, 2007 / 1:16 am

    Hi there…

    This is a very handy function.
    I’ve never had any problems with address book speed, it’s quite fast!
    One little irritation is that it seems to only be a “one way” type affair. ie Thunderbird reads the address book, but doesn’t write anything back into Outllok Express.
    Has anyone else had trouble with this?

    Hilton

  17. David Ashton April 28, 2007 / 7:54 pm

    I’ve installed this script and there is a slight problem. Thunderbird2 loads the outlook express address book, and for note by Hilton (14/3/07 post) changed details into Outlook Express too.
    Problem: when you click on the icon to write your 1st email an error message comes back saying unable to load address book file (which is not true as it does load them). See the website link for the screenshot. However, after this 1st error message, it does not appear again. Just a minor annoyance. The fix anyone?

  18. P Grond May 23, 2007 / 3:07 pm

    I don’t have that problem with TB 2. The problem I have is that TB can’t search in my Windows address book. Is it possible to make the search work?

  19. Robin September 24, 2007 / 5:32 pm

    I am using TB 2 and Outlook 2002 SP 3. I have added the lines to my pref.js in my default profile. I am seeing the slow performance that was noted by Matt in posting #6 above. Any ideas to fix would be appreciated. I’m not seeing the build-up of lines that is listed in the file referenced in posting #14. Thanks.

  20. Robin September 24, 2007 / 5:32 pm

    I am using TB 2 and Outlook 2002 SP 3. I have added the lines to my pref.js in my default profile. I am seeing the slow performance that was noted by Matt in posting #6 above. Any ideas to fix would be appreciated. I’m not seeing the build-up of lines that is listed in the file referenced in posting #14. Thanks.

  21. Alex September 25, 2007 / 1:36 am

    This is a great feature. I am using it so that I can sync my Palm Handheld with Outlook Addressbook, and then use the outlook addressbook in Thunderbird 2. This works finme, but is, as people have mentioned above, very, very slow. It also means that I have to open Outlook in order to use the calendar.
    I would prefer to use the Palm Desktop addressbook, though, because then I wouldn’t have to start Outlook at all. Is there a way to so something similar with the Palm Desktop Addressbook?

  22. gsinnott October 1, 2007 / 9:20 pm

    Works as claimed except using the OE linked address book to send to a list puts a double copy of the list into the message addresses. Works fine with a single address. Any suggestions?
    (Thunderbird 2.0.0.6, Win XP)

  23. Michael Barnes October 2, 2007 / 2:43 pm

    I had this set up on another system. Now, I’m unable to get it to work. I’m using Thunderbird 2.0.0.6, Outlook 2007, and running on Windows Vista. Anyone know if there’s something else I can do to get it to work. For some reason, I thought that I had to set up and LDAP directory last time I did this.

    Michael

  24. Tim December 6, 2007 / 2:29 pm

    Regarding the “Unable to load address file abook.mab” messages. I’ve had this happen before. It arises when Thunderbird crashes and the address book is open. It may be tied to synching to Palm OS using the Palm sync add on.

    When it happens, it makes a copy of your abook.mab file and names the old version “abook.mab.prev”. Try switching these file names when Thunderbird is closed. Then reopen it and it should read the old file. You can also make sure the file is not “read-only”.

    That worked for me before but not this time. I came here looking for help.

  25. Tim December 6, 2007 / 2:30 pm

    PS. I meant to tell you where the abook.map files are located:

    C:\Documents and Settings\YOUR PROFILE NAME\Application Data\Thunderbird\Profiles\*******.default

  26. Jimisola January 28, 2008 / 5:25 pm

    I had this working, but deactivated it because it was terribly slow (delays for up to one minute or so).

    Now, I cannot get this to work. I’m using TB 2.0.0.9 and Outlook 2003.

    Does anyone have an idea on how I can make this work again?

  27. Joe February 29, 2008 / 2:10 pm

    This worked on SM 1.1.8 but on 2.x the address book is read only. Any ideas?

  28. Costa March 29, 2008 / 11:52 am

    Sync contacts between a Mobile Device (MS ActiveSync), MS Outlook, MS Outlook Express AND Thunderbird!

    Ok, here it goes:
    1. Use Outlook as the main contact repository. MS ActiveSync synchronises contacts with MS Outlook).
    2. Force Outlook Express to use Outlook contacts. Change registry as per this link: http://www.slipstick.com/contacts/oeshare.htm
    3. Use the Outlook Express method described above to get Thunderbird to use Outlook Express contacts (which, in turn, uses Outlook contacts).

    Result:
    1. Thunderbird uses Outlook contacts WITHOUT having to set Outlook as the default mail client.
    2. All software/devices use effectively a single contacts repository.

    Drawbacks:
    1. The update/search contact operations within Thundrbird are slow (they can become VERY slow – but this seems to be a known issue anyway).
    2. Although MS Outlook Express from/to MS Outlook updates contact changes between the two, changes performed in Thunderbird are not updating the MS applications.
    3. Changes to contact details made within Thunderbird are lost when quitting and re-openning Thunderbird. Thunderbird re-loads the contact list every time.

  29. Costa March 29, 2008 / 11:56 am

    I forgot to mention software versions:
    Windows XP, XP Pro, 2003 server
    Thunderbird 2.0.0.12 (current version at the time of posting this)
    MS Outlook 2003
    MS Outlook Express 6

  30. Tim Soncrant April 6, 2008 / 4:16 pm

    Regarding the problem opening the default address book when sending the first message: In the prefs.js file, I changed “default.mab” to “abook.mab” in both locations. This solved the problem.

  31. E. Oliveira April 18, 2008 / 9:12 pm

    Everything is working except I can’t search in Outlook Express address book. Is it possible to make the search work?

  32. Alex Krenvalk April 19, 2008 / 1:05 am

    Try- outlook express fix,extract the user’s correspondence from a corrupted .dbx file and to save messages to separate files of the *.eml format (RFC822 standard) after that,software tool that allows the user to recover lost messages from corrupted Outlook Express folders,can be used to reindex large *.dbx files, which helps Outlook Express to start working normally again,can also easily copy (or move) a message in the *.eml file to Outlook Express folders or to other programs supporting this standard.

  33. E. Oliveira April 23, 2008 / 5:19 am

    The problem I still have is related with Thunderbird. After set up Thunderbird to use the Outlook Express address book I was able to use the address but not to search them. Thunderbird has a search feature that allow us, for example, write the first name and the Thunderbird returns all contacts that has that name. This feature is not working with Outlook Express contacts.

  34. zlatan24 August 23, 2008 / 7:14 am

    I heard about not bad application-recover outlook messages,
    program recover Outlook files and data from corrupted pst files of all Microsoft Outlook mail clients, save the recovered information as files with the *.pst extension, recover Outlook email and data from corrupted *.pst files protected with a password,recover Outlook email and data from corrupted pst files larger than 2GB with the maximum size for *.pst files of 32TB, read *.ost and *.pst files with strong encryption, recover Outlook contacts,runs under all Windows operating systems starting from Windows 98.

  35. zlatan24 August 23, 2008 / 7:18 am

    Where is fine tool-recover outlook messages,
    program recover Outlook files and data from corrupted pst files of all Microsoft Outlook mail clients, save the recovered information as files with the *.pst extension, recover Outlook email and data from corrupted *.pst files protected with a password,recover Outlook email and data from corrupted pst files larger than 2GB with the maximum size for *.pst files of 32TB, read *.ost and *.pst files with strong encryption, recover Outlook contacts,runs under all Windows operating systems starting from Windows 98.

  36. Danail Nedyalkov September 25, 2008 / 11:06 am

    Is there an option to sync the contacts directly into the “Personal Address Book” in Thunderbird and not in an “OE Contacts” additional one?

  37. Randy November 5, 2008 / 10:01 am

    I want to export my address book from my laptop that is running Windows XP with Mozilla Thunderbird to my new PC that is running Windows XP with Outlook. Can you help me?

  38. Philippe November 13, 2008 / 5:41 am

    It’s very easy to set-up, and a great feature, but it is so slow that I had to disable it. One minute per search simply isn’t workable!!!

    Does anyone know if this will be fixed?

    Thanks

  39. Alex January 22, 2009 / 6:58 am

    In this situation advise use next tool-how to recover outlook contact,which to my mind one the best in this sphere,as far as i know it is free,program restore all emails, contacts, messages, tasks and calendars are stored on server, not on your PC,also store all contacts, as well as messages, tasks and calendars are stored in *.ost format,recover contacts from ost, repair contacts Outlook and restore all data, that was considered to be lost,can export contacts to *.vcf files, that can be exported to Personal Information Management (PIM) tools or Windows Address Book,restore a list of files in *.eml, *.vcf and *.txt formats,exporting of recovered content into a file with *.pst extension, that can be easily opened offline with Microsoft Outlook or any other compatible email client.

  40. mutu26 February 12, 2009 / 6:42 am

    In this situation advise-extract .dbx,as far as i know tool is free,it can repair mailboxes in Outlook Express format and extract emails, when it is possible,repair messages from all folders and extract .dbx files, even from Deleted Items,moves to the preview mode, where our customers can take a look at the emails, that will be retrieved during the next stage,works with all Windows operating systems, starting from Windows 98 to Windows Vista (Windows 98, Windows Me, Windows NT 4.0, Windows 2000, Windows XP and Windows 2003).

  41. del_piero April 2, 2009 / 2:32 pm

    There is good tool which works with outlook and other mail files-i cannot open my pst files,program is free as how as i remember,it opening corrupted pst files, it is compatible with Windows 98, Windows Me, Windows NT 4.0, Windows 2000, Windows XP, Windows 2003, Windows Vista and all supported versions of Microsoft Outlook,repair and open pst files and pst files open,program to open pst files analyzes the data, this process is very complicated and it can take some time, according to CPU speed and file size, no user intervention is required at this stage,can convert your mailbox to separate files or to a file of PST format.

  42. Philipp April 18, 2009 / 10:00 am

    Hi,

    Search of OE contacts in Thunderbird adressbook *does* work, if these Contacts actually come from OE (WAB) using *outlook* contacts (registry patch useOutlook=1).
    Funny.

    Still, same bad performance.
    Tips from http://kb.mozillazine.org/Long_time_to_open_address_book do not seem to help, though my Thunderbird 2.0.0.21 – indeed is creating these false entries.

  43. Roger(Outlook PST Repair) April 28, 2009 / 11:15 pm

    unknown error 0x80040116 is usually associated with a corrupted outlook pst file and can be repaired with the right tools.

  44. Ian May 23, 2009 / 7:26 am

    Hi Philip and Zero,

    That’s really useful. I have it working … apart from search.

    Would you care to point me to a site that would tell me how to apply the useOutlook registry patch? I don’t even know which registry we’re talking about (Outlook? Windows? Thunderbird?) so I’m not keen to start fiddling :).

    Thanks,

    Ian

Comments are closed.