Email Threading

Roman Kryvoshyia | ENAPPS 1 Reputation point
2022-04-20T12:41:12.22+00:00

I have started using Graph API to send emails, but I cannot thread(group) them. Subject is the same and references but there is Thread-Index witch cannot be set from my side, so is it a problem?
And how can I set Thread-Index or maybe there's another way to group emails.

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

1 answer

Sort by: Most helpful
  1. Glen Scales 4,446 Reputation points
    2022-04-21T23:37:41.19+00:00

    If you want to thread a Message you should use CreateReply https://learn.microsoft.com/en-us/graph/api/message-createreply?view=graph-rest-1.0&tabs=http to create a draft message based on the thread your replying to and the order in the thread you want for the the new message your creating to ensure the conversation index is ordered correctly (eg reply to the last message in the chain). You can make whatever changes you then want to the draft message and send that


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.