0 votes
by (310 points)

I have a MessageId stored in the database associated to a MailMessage:

5f9410ed-db91-cccc-d2d9-5137a51c6706@gmail.com

I need to find the EwsItemId associated to it so I can do ews operations with it.

Is it possible to retrieve the EwsItemId having only its MessageId?

Applies to: Rebex Secure Mail

1 Answer

0 votes
by (3.9k points)
edited by
 
Best answer

This feature was unfortunately not available. But, as this kind of search is essential, we decided to add it. Here is the link to the hotfix containing that improvement. It is available since Rebex Secure Mail 2018 R1.

The code below shows how to perform search by MessageId:

ewsClient.Search(EwsFolderId.Inbox, EwsSearchParameter.MessageId(mailMessage.MessageId.Id));
by (310 points)
Is this going to be available in some future release? We have paid for a license and we are planning on using this new feature on a production environment. Thanks
by (147k points)
Yes, this will be available in the next release. We post a notice here when it's available.
...