see in properties their is an option “onlyunreadMessages” check it.
so by using you will get only unread messages and their is one more property to mark it as a read so by checking both options so always you have to deal with unread messages.
In my case, I have to get all the Read Messages. But when I uncheck the ‘OnlyUnreadMessages’ property options, all messages are loaded. So I have to check If it’s read or unread after this
Hi! Did you solve this problem? I have to check each message if it’s read or unread too and the ‘OnlyUnreadMessages’ property doesn’t help me in my case. Did you find any solution for this?
I have used get outlook properties before i have given only “Inbox” and its not working.
saying the error folder does not exists it was working fine in my system but when i am trying to run from another user system its throwing that error.