How to know the user accepted read receipt programmatically, which I sent using Graph API sendEmail?

Dinesh Raja 0 Reputation points
2023-12-06T05:12:38.5166667+00:00

I requested read receipt for a email sent using Graph API sendEmail and the mail sent successfully with read receipt enabled.

How to know the user accepted read receipt via Graph API programmatically?

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Md Asif Muztaba 325 Reputation points Microsoft External Staff
    2023-12-08T04:32:41.42+00:00

    The Microsoft Graph API does not directly provide a way to track if a user has accepted a read receipt. The isReadReceiptRequested property can be set to true when sending an email to request a read receipt, but there is no corresponding property in the API to check if the receipt has been accepted.

    However, you might be able to infer this information indirectly. When a recipient reads an email and accepts the read receipt, a new email is sent to the original sender with the read receipt. You could potentially use the Graph API to check the sender’s mailbox for these receipt emails. This would involve parsing the emails in the sender’s inbox and looking for emails that match the format of a read receipt.

    Please note that this approach might not be 100% accurate, as it depends on the recipient’s email client and settings. Some email clients might not support read receipts, and some users might have chosen to disable them.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.