Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

Exchange WebServices IsFromMe property always returning false

$
0
0

Hi,

I'm using Exchange WebService API 2.0 against Exchange 2013 CU9 and trying to check if retrieved item is sent by currently authenticated user.

MSDN resource https://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.item.isfromme%28v=exchg.80%29.aspx showing that Item class contains "IsFromMe" property which describe if item is sent by binded user. It is type of "bool".

Binding to the "Sent Items" folder and retrieving items  should show "IsFromMe" as "true", however in my case all messages returning "false" for that property (fragment from one message):

From     : User 01 <EX:/o=POC/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=user4a411113>
IsFromMe : False
Sender   : User 01 <EX:/o=POC/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=user4a411113>

It is clear that "From" and "Sender" are the same user (as it should be since item is pulled from Sent Items), but "IsFromMe" states false.

Tried to load all property set, bind directly to the item, using impersonation, authenticating directly with user's credentials, etc..., but anything I tried always returning "false" at "IsFromMe".

Tried on Exchange 2010 also, same behavior.



Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>