I need to manipulate a big mailbox that has about 20 folders with 40k-70k messages.
Doing it with GetOutlookMessages sometimes yield a message “Folder not found” even if the folder exists… Does anyone know how to solve this?
I have tested retrieval with GetExchangeMessages which works faster and without error (the issue seems to be Outlook, not the Exchange server). However I encounter 2 problems
my filter used with Outlook activity does not work on Exchange “[ReceivedTime]<='”+now.AddDays(-3).Date.ToString(“dd/MM/yyyy”)+“'”
I haven’t managed to add categories to Exchange messages. Is it possible ?
But how do I save the changed categories to the Exchange?
One more problem: I haven’t managed to connect using the server address, but only with EmailAutodiscover. The issue is that from time to time I get the error Get Exchange Mail Messages: The Autodiscover service couldn’t be located.