We use Exchange 2007 WS to process mail folders and encounter various problems if we try to send a message that we have already received. Our process:
In addition, the mail search again turns out to be pretty flaky. We regularly get the following error:
The specified object was not found in the repository.
Is there a better / more reliable way to achieve the same? The documentation for Exchange WS is pretty scarce.
This is a bug in the Microsoft Exchange Management API. here is a link for more information http://maheshde.blogspot.com/2010/09/exchange-web-service-specified-object.html
Do you save the message identifier of the message you just found or the message after moving it to the Processed folder? The identifier will change when it moves to a new folder.
, - Microsoft Exchange Server 2007 PR_SEARCH_KEY (0x300B, Binary) "". PR_SEARCH_KEY .
, , , , - .
, try catch , == , , . .
, "", , , , . Windows. . , . , , , , . 2 , , . , , .