Closed MilesHart closed 1 year ago
I want to move emails (by ID) from the inbox to a another foler in the same mailbox.
Does anyone have any pointers for this?
Much appreciated.
You can do this by using MsGraph::post("me/messages/$id/move", ['destinationId' => $folderId]);
MsGraph::post("me/messages/$id/move", ['destinationId' => $folderId]);
see https://learn.microsoft.com/en-us/graph/api/message-move?view=graph-rest-1.0&tabs=http for more details
I want to move emails (by ID) from the inbox to a another foler in the same mailbox.
Does anyone have any pointers for this?
Much appreciated.