question

ViacheslavMarchenko-9663 avatar image
0 Votes"
ViacheslavMarchenko-9663 asked ·

Set Received Outlook programmatically

I want to set MAPI property PR_RECEIVED_BY_EMAIL_ADDRESS_W in my code. There is in the manual specified, that this property "Set by transport providers on incoming messages". But I'm trying myMail.PropertyAccessor.SetProperty("http://schemas.microsoft.com/mapi/proptag/0x0076001F";, "my@email"); and output error {"The property \"http://schemas.microsoft.com/mapi/proptag/0x0076001F"; does not support this operation."}. This is happening from all types items - MailItem, PostItem, MeetingItem...
I tried to set alterrnative property PR_RECEIVED_BY_EMAIL_ADDRESS ("http://schemas.microsoft.com/mapi/proptag/0x0076001E";), but I have same problem.
How I can set it?
Thanks

not-supported
10 |1000 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.

1 Answer

DSPatrick avatar image
0 Votes"
DSPatrick answered ·

QnA currently supports the products listed in right-hand pane (more to be added) Better to reach out to subject matter experts in dedicated forums over here.


https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=outlookdev

(please don't forget to mark helpful replies as answer)


· Share
10 |1000 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.