Configuring and manging Outlook’s Autocomplete Cache

Overview Outlook cannot be configured for selective (criteria based) caching of entries in the autocomplete stream. In addition, individual entries cannot be removed by standard programmatic means. Individual entries can be removed manually using the Outlook client. More information The autocomplete stream is a set of recipient property rows that are saved as a binary…

0

PowerShell: Deploying Outlook ribbon customisations

The Outlook ribbon can be customised by users, and any such changes are stored in an Xml file in the user’s AppData folder (by default, this will be %LocalAppData%\Microsoft\Office – though this can be changed to roaming AppData using a registry key).  Sometimes a company may want to have specific functionality (or custom functionality) available…


Certain Unicode characters are replaced with question marks for text properties set using UserProperties.Add

SYMPTOMS When trying to retrieve text UserProperty values via the Outlook Object Model from signed or encrypted messages, if the values contain extended Unicode characters, you will notice that certain characters are replaced by the question mark “?” symbol. For example, you use the following code to create a UserProperty object named myUserProperty. You then…

0

MAPI Utility to add Ldap Address Books to existing Outlook profiles

Current version: 1.0.0.4   I’ve had quite a few requests recently for a tool that can configure Ldap (Internet) Address Books in existing Outlook profiles. Since I don’t know of any tool to do this except for the good ole PRF import, I’ve decided to write some code for posterity. Unlike the PRF import, this…

12

PowerShell: Apply Retention Policies or Auto-Archive Settings to Inbox sub-folders

This week I’ve been spending some time in reviewing how Exchange Retention Policies and Outlook Auto-Archive setting are stored in a user mailbox.   If you’re wondering whether to start using Outlook Auto-Archive or the Exchange Retention policy I would like to call out some differences.   How important is enterprise data? If the answer to this…

2

PowerShell: Remove duplicate items from a mailbox

I’ve extended the script I posted a few months ago so that now it can search for duplicate contacts and email items (not just appointments).  I’ve posted the script to the Office Developer Centre, and rather than having to maintain two pages, I’ll just leave a link here: https://code.msdn.microsoft.com/exchange/PowerShellEWS-Remove-54228d71 Any new code samples will be…


Programmatically add Links to Outlook ContactItems in Outlook 2013

With the Links interface now deprecated in the Outlook 2013 Interop, a lot of people still want to be able to link contacts. If you wish to do so and are willing to go the extra mile, you should be able to link contacts by setting/modifying these four properties using Extended MAPI: 1. http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/853A101E Named…

1

EWS: Importing bank holidays from an Outlook.hol based CSV file

This is a follow up post for Outlook Code: Importing bank holidays from an Outlook.hol based CSV file. I’ve written the script a while back and I thought I’d update for ease of use and to add some extra functionality. The script uses the EWS Managed API to connect to the mailboxes so please make…

6