Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EWS: copy items between mailboxes/accounts

If my app has the credentials of two users, user A and user B, whose accounts/mailboxes are on the same Exchange server, is there a way that I can copy an item (e.g. an email) from a folder in user A's mailbox to one in user B's, and keep the traffic local to the Exchange server?

Neither user would have delegated/granted access to the other, and I'd prefer not to have to do this via a public folder.

like image 680
sasfrog Avatar asked Nov 05 '22 00:11

sasfrog


1 Answers

Exporting with the ExportItems operation and importing with the UploadItems operation are your best options. New content was just released on MSDN that discussed this in detail: Exporting and importing items by using EWS in Exchange.

like image 57
Mimi Gentz Avatar answered Nov 27 '22 18:11

Mimi Gentz