I am writing an application(C#) to sync contacts,appointments,tasks etc from one mailbox to other. I am able to retrieve changes to these items using SyncFolderItems but could not find a way to copy the changes to a different mailbox. It looks like I have to create a new item for each of these types on the destination mailbox. If that is the case how do I get all the properties on the source item onto the new item on the destination. I am currently using exchange 2007 sp1 environment and want to use the same code for exchange 2010 also.
相关问题
- How to fix unresolved types when importing Exchang
- Get to an Exchange folder by path using EWS
- Enumerating shared mailbox names you are able to a
- FindItems() and BindToItems() give inconsistent re
- Saving an email to a .MSG file using EWS Managed A
相关文章
- exchange web service error - the remote server ret
- Find all subfolders of the Inbox folder using EWS
- php-ews: Access shared calendars?
- Check exchange credentials remotely and check user
- Cannot load Exchange powershell snap-in: The type
- Does Exchange Server (in-house) suppport REST API?
- How to do paging with Exchange Web Services Calend
- Using EWS API to search through different users ma
(This is what worked for me on Exchange 2010. The docs don't mention 2007 so you may be out of luck there.)
Use
SyncFolderItems
to find the items you want to move. Next, useExportItems
to export them to a file, and thenUploadItems
to put them into the other mailbox. ExportItems and UploadItems operations with Exchange Online is very detailed and has examples of the import/export operation (including an example where the source and destination are different mailboxes).