question

CdricBoivin-7694 avatar image
0 Votes"
CdricBoivin-7694 asked

How i can access IMessage property from c#

Hello i try to get access to the property

http://schemas.microsoft.com/mapi/proptag/0x5D01001F or http://schemas.microsoft.com/mapi/proptag/0x4023001F with C#

What i did not understand is why the OutlookSpy tools are able to access thoses property and with my c# vsto plugin i am not able to access them.

What did i do wrong ?

Here is my code. The property are always empty

PropertyAccessor prop = Mail.PropertyAccessor;
string value1 = prop.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x5D01001F");
string value2 = prop.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x4023001F");

office-vsto-com-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers