Hi,
We want to copy a mailbox from one exchange 2007|2010 server to another exchange 2013 server using EWS API, and found that we can use Export | Import EWS function.
We have looked into this article by Glen Scales Exporting and Uploading Mailbox Items using Exchange Web Services using the new ExportItems and UploadItems operations and have few questions:
1. As this operation was introduced in Exchange 2010 SP1, does it mean that we cannot use it on Exchange 2007 (all versions)?
2. Is there any code sample which shows how to export to a Stream in memory, and then import that steam(to target server), so that we can skip the step which writes the data to File Transfer Stream format on disk. Glen's article also mentions a limitation that says that email items saved in FTS format can only be imported to an Exchange server with same version (SP\rollup), which is quite a hurdle for what we want to accomplish.
3. Export | Import operations are not implemented in EWS Managed API, so is this possible that we get an Email Item using EWS Managed APi (using source server ExchangeService object), and then create a new EmailMessage item using the data of retrieved email item in last step (using target server ExchangeService object) and save on target server. Is it possible to copy an email item this way using Full fidelity and with Email message, Extended properties and attachments?
Thanks in anticipation.
Regards, David Johnson