Manage Conversation Items on Exchange Server

Connect to an Exchange Server

Below is the code uses to connect to Exchange Server 2010 in all the examples in this article.

Find Conversations

To get the conversation information from a specific folder on the Exchange Server:

  1. Connect to the Exchange Server using the EWSClient class.
  2. Call the IEWSClient.findConversations() method to find all the conversation items from a folder.
  3. Display the conversation item properties like ID, the conversation topic and flag status.  

Copy Conversations

To copy conversations from one folder to another:

  1. Connect to the Exchange Server using the EWSClient class.
  2. Call the IEWSClient.copyConversationItems() method to copy the conversation item from the source folder to the destination folder.  

Move Conversations

To move conversations from one folder to another:

  1. Connect to the Exchange Server using the EWSClient class.
  2. Call the IEWSClient.moveConversationItems() method to move a conversation from the source folder to the destination folder.  

Delete Conversations

To delete conversations from a folder:

  1. Connect to the Exchange Server using the EWSClient class.
  2. Call the IEWSClient.deleteConversationItems() method to delete the conversation item from the source folder.