I'm using Rebex to send an email like this:
// Get EwsItemId
ewsItemId = _ewsClient.StoreMessage(EwsFolderId.Drafts, mailMessage);
Then I grab the ewsItemId and store it as a string in the database. Something like:
Then later I get this Id and do:
EwsItemId ewsItemId = new EwsItemId(itemId);
EwsItemInfo item = _ewsClient.GetItemInfo(ewsItemId);
and I get the following exception:
Rebex.Net.EwsException: The specified object was not found in the store., Cannot get ID from name (ErrorItemNotFound).
I know that actually the EwsItemId is composed by an Id and a ChangeKey. Must I also store the ChangeKey? What's the best approach to store the EwsItemId in the database for later use?