Working with In-Place Archive
In-Place Archives in Office 365
In-Place Archives in Office 365 provides users with additional storage space. After the archive mailboxes are turned on, users can access and store messages in their Archive Mailbox by using Microsoft Outlook and Outlook on the Web. When the mailbox with In-Place archiving enabled is opened with Outlook, the archive mailbox is shown as a separate mailbox.
Move Items to In-Place Archive
Aspose.Email API can be used to move items into users archive mailbox by using the IEWSClient.ArchiveItem
method. IEWSClient.ArchiveItem
method provides four overloads which are listed below.
ArchiveItem(string sourceFolderUri, Appointment appointment)
ArchiveItem(string sourceFolderUri, ExchangeTask task)
ArchiveItem(string sourceFolderUri, MapiMessageItemBase item)
ArchiveItem(string sourceFolderUri, string uniqueId)
The code example given below demonstrates the use of IEWSClient.ArchiveItem
method to move an email to the Archive Mailbox by using the UniqueUri.