msgraph-sdk-php icon indicating copy to clipboard operation
msgraph-sdk-php copied to clipboard

Messages with isReadReceiptRequested can't suppress

Open ArnoldZoutman opened this issue 2 years ago • 0 comments

When patching an e-mail message with a Read Receipt Request like this:

$request = $graph->createRequest('PATCH',  '/me/message/' . $office365MessageId);
$request->attachBody(['isRead' => true]);
$request->execute();

Outlook automatically sends the Read Receipt.

In the old EWS there is a way to suppress this: https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/suppressreadreceipt

Is this possible via this sdk?

ArnoldZoutman avatar Mar 08 '23 15:03 ArnoldZoutman