How to Access In Place Archive Mailbox using an account with impersonation permission in Office 365

How to Access In Place Archive Mailbox using an account with impersonation permission in Office 365.
Please share c# code.

thanks

@ravikumarchopra,

Thank you for contacting Aspose Support.

We regret to share that the required feature is not present in the API at the moment. A ticket has already been logged in our issue tracking system as EMAILNET-39205 for the support of In Place Archives in Office 365. This feature is expected to be released with Aspose.Email for .NET 19.1 which will be available by the end of January 2019.

The issues you have found earlier (filed as EMAILNET-39205) have been fixed in this update.

could you please share sample c# code to do so.

thanks

@ravikumarchopra,

I have shared code snippet with you. This will help you to achieve your requirements.

void IEWSClient.ArchiveItem(string sourceFolderUri, MapiMessageItemBase item);
void IEWSClient.ArchiveItem(string sourceFolderUri, Appointment appointment);
void IEWSClient.ArchiveItem(string sourceFolderUri, ExchangeTask task);
void IEWSClient.ArchiveItem(string sourceFolderUri, string uniqueId);