I seem to be having problems since the start of this week with messages in EWS not being picked up.
If the message has a CC, it is able to be picked up, otherwise it seems to be ignored.
Here is example code and output, we are on version 5.1.0
Dim credential As New System.Net.NetworkCredential(“user”, “pass”, “domain”)
Dim client As IEWSClient = EWSClient.GetEWSClient(“https://outlook.office365.com/EWS/Exchange.asmx”, credential)
Dim msgCollection As ExchangeMessageInfoCollection = client.ListMessages(client.MailboxInfo.InboxUri)
Console.Write(msgCollection.Count)
Dim count As Integer = 0
For Each foldinfo As ExchangeFolderInfo In client.ListSubFolders(client.MailboxInfo.RootUri)
Console.WriteLine(foldinfo.DisplayName & " " & foldinfo.TotalCount & " " & foldinfo.UnreadCount)
Next
Inbox count: 0
Calendar 8661 0
Clutter 1 0
Contacts 0 0
Conversation Action Settings 0 0
Deleted Items 5095 0
Drafts 0 0
Inbox 3 0
Journal 0 0
Junk Email 0 0
Notes 0 0
Outbox 0 0
Quick Step Settings 0 0
RSS Feeds 0 0
Sent Items 9270 0
Sync Issues 0 0
Tasks 0 0
Test 49 0
After using ListMessages, it seems that 0 items are returned from the inbox. But iterating through the folders show there are items in the Inbox.
Is it anything to do with the new Clutter feature than Microsoft have recently introduced in email?
Thanks.