Share via

mime content returned by the api returns a different name compared to subject of the email

Pandrangi Vishnu Teja 0 Reputation points
2025-04-13T21:41:24.25+00:00

I have sent an email with the below subject to a shared mailbox (migrated to cloud)

[EXTERNAL] - {Testing} (Testing) : 123 ; 456 <789>0

We have used the Graph API - Get message MIME content and the api returned the below response

{

"uuid": "ba32d60b-a1a6-4593-9ffb-ee4ac9428849",

"name": "EXTERNAL+-+Testing+%28Testing%29++123++456+7890.eml",

"processInstanceId": "e0b544a2-18ad-11f0-a869-7a85c6979dc8",

"mimeType": "2",

"remoteId": "AAMkADQ2ZjcxZWE0LWVlYWMtNDcxMi1iNTA0LWUyZDAzN2U0ODEwNABGAAAAAAAvgpakJhadSJUu-0k5T3aOBwD5HykfWDPPRY3LsA4ObsOAAAAIdXUtAAD5HykfWDPPRY3LsA4ObsOAAAAdHxMbAAA=",

"remoteSystem": "Graph",

"fileSignature": "2fe8e3b1cc6177fa5d6bc9b541bcdaea49e1e1373bf1d688a476bb881b0a8040",

"status": "0",

"size": 4268,

"createTime": 1744579556643,

"lastUpdateTime": 1744579556643

}

The name returned in the response is different compared to the subject of the email. The special characters are getting changed.

What configurations (headers/query-parameters) should we set to get name to be same as the subject of the email and the special characters are not removed

Microsoft Security | Microsoft Graph
0 comments No comments

Your answer

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