Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Move message between mailboxes using office 365 API

Tags:

c#

office365

I would like to move email messages from one mailbox to another in Office 365 using some sort of API. I looked up the API reference and the Move method provides the ability to move to a folder only (reference https://msdn.microsoft.com/office/office365/APi/mail-rest-operations#MessageoperationsMoveorcopymessages). I know it was possible back then using Exchange's EWS service. Do you know of a solution that might work in this case? It is important to know, that simple forward won't do since I need to preserve the message's sender and receiver as is for search purposes.

Thanks

like image 899
Eyal Shiri Avatar asked Feb 06 '26 15:02

Eyal Shiri


1 Answers

Based on the info provided, Exchange Web Services would be the only option for you. The scope of a move and copy currently for our REST API is within a single mailbox.

like image 168
Venkat Ayyadevara - MSFT Avatar answered Feb 09 '26 05:02

Venkat Ayyadevara - MSFT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!