Category "vsto"

VSTO Outlook Plugin updates Appointment.Body and thus Outlook shows text instead of html part of multipart message

I receive multipart invitations which include calendar and text and html part. When I open those invitation mails in outlook it shows the html part. Now my code

How to remove a specific ItemProperty from AppointmentItem.ItemProperties

I use the following method to a new OutlookUserProperty to an AppointmentItem: MyID = (Outlook.UserProperty)myAppointment.ItemProperties.Add("MyID", Outlook.OlU

VSTO Outlook How to get the previous AppointmentItem in a chain of AppointmentItems within recurring meetings

I am currently developing an Outlook Addin for AppointmentItem. In case the AppointmentItem is a member of a recurring meeting "chain" I want to retrieve/find t

Block email sender

Is there anyway you can create a code, when you click a button (I've already created this) it will take the selected email and block the sender which will delet

How can I get the account associated to a meeting request?

I need to know the account email address a meeting request is associated to (the email address the meeting request is sent to): string GetAssociatedAccountEma

How to specify the first day of week in Outlook RecurrencePattern of AppointmentItem?

In OOM, is there a way to specify the assumed first day of the week, like WKST parameter in ICS RULE section? When I save a calendar from Outlook, I see that i

Cloning an outlook email to resend

I want to add a "resend" context menu in my Outlook 2016 add-in, to resend an email. The original email should be re-displayed to the user for him to make any m

How to add images from resources folder as attachment and embed into outlook mail body in C#

I have a couple of images stored in visual studio project Resources folder, and I have to load them and display on the outlook mail body. Here it is the code:

VSTO Addin Outlook Appointment delete and write event fired only if opened first

I am working on an Outlook Addin where I try to perform a specific action if deleted. It works fine with all the appointments that I have already opened once. W

Set a custom "forwarded" message to Mail Item via VSTO Outlook 2013 Plugin

I am developing a VSTO Plugin for Outlook 2013 (or higher) that allows users to forward mail contents and sender/recipient data to some other program. The sendi

Can't programmatically set follow up on Outlook 2016 taskitem in C#

In Outlook 2016 (and I assume previous versions) you are able to right-click a task and select Follow-up, and then choose when you'd like to have the item follo

VSTO with Windows Form and Worker Threads

I have an Office addin (Outlook if it makes a difference) created with VSTO. The addin creates a Windows Form at startup. My Form creates several threads. I'

How to detect other outlook events such as "Forward as attachment", "Reply with Meeting"

Out of the box outlook provides the following: ((Outlook.ItemEvents_10_Event)this._mailItem).Reply += new Outlook.ItemEvents_10_ReplyEventHandler(MailItem_Repl

VSTO Outlook Add-In : TYPE_E_LIBNOTREGISTERED

we have a add-in in Outlook (VSTO) installed in an environment which has Outlook 2013 and Skype 2013. It has been working successfully until we migrated Skype f

VSTO Outlook Add-In : TYPE_E_LIBNOTREGISTERED

we have a add-in in Outlook (VSTO) installed in an environment which has Outlook 2013 and Skype 2013. It has been working successfully until we migrated Skype f

c# outlook addin - add custom flags or icons for emails [closed]

currently we can add some red flags to email. And after that, we can those flag icons to appear while listing of emails. I want the similar

c# outlook addin - add custom flags or icons for emails [closed]

currently we can add some red flags to email. And after that, we can those flag icons to appear while listing of emails. I want the similar

Suppress Userproperty printing with outlook mail items

I need to suppress the printing of outlook userproperties programmatically added to a mail item. I had seen the following question that has a solution for dot.n

Outlook 365 vs Professional [save mailitem] Encoding Issues

I have an outlook addin currently in development that reads mail properties from outlook and displays on a winform. I built the outlook on an environment with

VSTO: Does dragging and dropping a mail message into a MAPI folder cause the folder's Items.ItemAdd event to fire?

The handler I've attached to the folder's ItemAdd event is not firing. I don't know why. The variable folderTestItems is declared at class-level, so it shouldn'