Email that is sent using Microsoft Graph REST APIs shows a different From name than account name in the email that is received because of which it always is being redirected to SPAM. How to change the name so it is understandable instead of a random name?

Abhishek Vadakattu ProtonMe 0 Reputation points
2024-05-30T06:48:03.4733333+00:00

Hello Folks,

Email that is sent using Microsoft Graph REST APIs shows a different From name than account name in the email that is received because of which it always is being redirected to SPAM.

The email addresses look like ******@outlook.com etc.,

How to change the display name so it is understandable instead of a random name and email address?

Please suggest.

Thanks!

Outlook Windows Classic Outlook for Windows For business
Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-05-30T09:34:40.2233333+00:00

    Hi @Abhishek Vadakattu ProtonMe

    According to the Graph Api, the sender's name and address cannot be customized, and in any case the sender must match the value of the actual mailbox.

    User's image

    Moreover, my test results showed that the sender's message was not random.

    Screenshot 2024-05-30 170715

    Screenshot 2024-05-30 171139

    As to why it is flagged as spam, the possible reason is that the message is from an unknown sender, or that the sender's email name or address format is detected as spam.

    See the solution to this problem:

    https://stackoverflow.com/questions/55950384/microsoft-graph-api-mail-gets-send-but-in-spam

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional 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.