Client.SaveMessage - Message can't be opened

Hi team,

We are saving messages from Exchange server using the client.SaveMessage method as follow. However, output message file can not be opened. Can this be fixed soon?

client.SaveMessage(messageUri, “output.msg”);

Hi Aaron,

Thank you for your inquiry.

I have checked the API Reference Guide for this purpose and found that it says:

Saves mail message specified by the uri to local file system. The mail message
file is RFC 822 compliant format (EML). if you want to parse the mail
message files, use Mailmessage

Please note that the RFC 822 protocol refers to the EML file format as mentioned in this statement. Thus, in order to save the fetched message to disc, please save it as EML file format and share your feedback with us.

Code:

IEWSClient client = EWSClient.GetEWSClient("mailboxUri", "username", "password");
client.SaveMessage(messageUri, "FetchedMsg.eml");