How to decrypt and un-sign a message programmatically using the OOM

Overview This blog post demonstrates how to decrypt and un-sign a message programmatically using the Outlook Object Model.   Encrypt email messages When you need to protect the privacy of an email message, encrypt it. Encrypting an email message in Outlook means it’s converted from readable in plain text into scrambled cipher text. Only the…


Outlook behaviour when accessing data in a corrupt data file (.pst or .ost)

In Outlook 2010 and previous versions, when making a call to access data in an Outlook store, programmatic calls to access data would result in errors if the data file (.pst or .ost) was corrupt. Developers were thus able to handle the exceptions and continue the execution,   In Outlook 2013, this behaviour changed and…

0

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

Outlook add-in sample – implementing additional controls for capturing meeting notes

I’ve written a VSTO add-in sample that implements a form region with a rich text control that allows capturing rich text notes and additional information for appointments and meetings. How it works The add-in implements the form region displayed in the screenshot below for compose-mode meetings. Upon saving the appointment or meeting invite the content…

2