question

RomanKryvoshyiaENAPPS-1271 avatar image
0 Votes"
RomanKryvoshyiaENAPPS-1271 asked RomanKryvoshyiaENAPPS-1271 commented

Email Threading

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-graph-mail
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

GlenScales-6756 avatar image
0 Votes"
GlenScales-6756 answered RomanKryvoshyiaENAPPS-1271 commented

If you want to thread a Message you should use CreateReply https://docs.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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the answer, but problem is little bit different. For example I send first email(with References '12345') from support@example.com to person1@example.com all good just one letter then I send second email(with the same References '12345') and I need it to be threaded(grouped) to previous one and all emails with references '12345' must be in one thread.

0 Votes 0 ·