Microsoft Outlook


Address provider for Microsoft Outlook (from Outlook 2010).

The Outlook address provider has the standard function every address provider has:

  • Contact search: search and add Outlook contacts using search words for fields like company, first name, ...

In addition, the Outlook address provider offers the following functions:

  • Outlook lists

    • Add Outlook lists (all contacts in the list are loaded into the recipient dialog)

    • Create/Save Outlook lists (all contacts will be updated/saved and added to the list)

  • Save/update Outlook contacts (happens automatically if the checkbox "Save/update all recipients in Outlook" is selected)


Configuration

Contact search

Simple configuration example

<AddressProvider id="A244D5EF-93F6-4A2C-9B62-F6DA64590B8C" order="0" active="true"> <AllowPublicAddressbooks>true</AllowPublicAddressbooks> </AddressProvider>

Detailed configuration example

<AddressProvider id="A244D5EF-93F6-4A2C-9B62-F6DA64590B8C" order="0" active="true"> <AllowPublicAddressbooks>true</AllowPublicAddressbooks> <WhitelistedAddressbooks> <Name>Contacts</Name> <Name>Global Address list</Name> <Name>All Rooms</Name> <Name>Contacts CompanyName</Name> </WhitelistedAddressbooks> <SelectedAddressbook> <Name>Contacts</Name> </SelectedAddressbook> </AddressProvider>

 

  • AllowPublicAddressbooks true → Public address books are displayed.

  • WhitelistedAddressbooks List of all address books to be made available for selection. If this element is left out, all address books will be made available for selection.

  • SelectedAddressbook This address book is preselected in each case.


Outlook lists, saving/updating Outlook contacts

No special configuration is required. The above examples enable the use of this functionality.

When loading contacts (whether via lists or via search) for which the country (e.g. "Greece") has been specified via Outlook, the country is only applied correctly if the Outlook display language and the language of the .NET Framework installation match. Exception: If the option "UseEnglishCountryNames" is active in the RecipientAddresses document function, the country is only applied correctly if the Outlook display language is English.


Virus scanner

Access via Interop is blocked by Office if no virus scanner is installed that supports the Office interface.

Basically it is recommended to use a virus scanner, this can be e.g. the built-in Windows Defender.

However, this security feature can be controlled by this registry key, where {OfficeVersion} must be replaced depending on the installed Office version:

  • Office 2010: 14.0

  • Office 2013: 15.0

  • Office 2016: 16.0

  • Office 2019 & Microsoft 365: 16.0

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office{OfficeVersion}\Outlook\Security] "ObjectModelGuard"=dword:00000002

    [HKEY_CURRENT_USER\Software\Microsoft\Office{OfficeVersion}\Outlook\Security] "PromptOOMSend"=dword:00000002 "AdminSecurityMode"=dword:00000003

If a 32-bit Office is installed on a 64-bit system, the following registry keys must be used:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\{OfficeVersion}\Outlook\Security] "ObjectModelGuard"=dword:00000002 [HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Office\{OfficeVersion}\Outlook\Security] "PromptOOMSend"=dword:00000002 "AdminSecurityMode"=dword:00000003

 

PrimeSoft AG, Bahnhofstrasse 4, 8360 Eschlikon, Switzerland