Hello Yabesh,
Maybe try this? https://stackoverflow.com/questions/59743062/microsoft-graph-get-latest-message-content-only
Regards,
You can mark it 'Accept Answer' if this helped you
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The below code I have tried, usually the entire conversation messages inside the single email thread is coming inside the body as a html, but I want the latest reply email conversation message and with its attachments only, not the previous conversation messages inside that same email thread. Please let me know, how to achieve this?
folder_url = f'https://graph.microsoft.com/v1.0/me/mailFolders/{folder}/messages?$top=1&$orderby=receivedDateTime desc'
folder_r = requests.get(folder_url, headers=headers)
Hello Yabesh,
Maybe try this? https://stackoverflow.com/questions/59743062/microsoft-graph-get-latest-message-content-only
Regards,
You can mark it 'Accept Answer' if this helped you