I have a Office Outlook Addin. I have created for 2010 however it is supported on office 2007, 2010 and 2013. We ran a test on a Office 2007 machine and received:
Object does not support property "http://schemas.microsoft.com/mapi/proptag/0x37010102"
I am accessing an MailItem attachement. I get the PropertyAccessor for the attachment and call the GetProperty Method:
const string PR_ATTACH_DATA_BIN = @"http://schemas.microsoft.com/mapi/proptag/0x37010102";
PropertyAccessor propertyAccessor = attachment.PropertyAccessor;
var PR_ATTACH_DATA_BIN_Value = propertyAccessor.GetProperty(PR_ATTACH_DATA_BIN);
I can access the attachment type which indicates the data should be found in the property above. Attachement method is ATTACH_BY_VALUE.
Is there something I'm overlooking as it works on all the other machines running office 2010 and 2013?