Graph api: ReplyTo not set when sending e-mails

Furdui, George (FR - External) 130 Reputation points
2024-08-05T13:44:30.5633333+00:00

Hello! I am using microsoft graph api to send e-mails. All of sudden, since 1 August, replyTo property is ignored and not set anymore. When the e-mail reaches the destination mailbox, reply-to field is missing from the email header.

This is the body used in the reuqest to send the e-mail:

{"message":{"body":{"content":"test email","contentType":"html"},"from":{"emailAddress":{"address":"test_email","name":"display1"}},"hasAttachments":false,"replyTo":[{"emailAddress":{"address":"test_email", "name": "asdf"}}],"toRecipients":[{"emailAddress":{"address":"test_email","name":"display1"}}]}}


This used to work before 1 August. Is the replyTo field deprecated now?

Thank you!

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,352 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,344 questions
{count} votes

Accepted answer
  1. Vishwamurthy-MSFT 105 Reputation points Microsoft Vendor
    2024-08-14T14:21:05.4533333+00:00

    There is a Service Degradation with Issue ID: MF860777User's image

    This issue will be resolved when the Advisory for this confirms that the Service is restored.

    Thank you for your patience.

    Please go ahead and mark this as 'Answered' if this response helps.

    5 people found this answer helpful.

7 additional answers

Sort by: Most helpful
  1. Justin Rustin 91 Reputation points
    2024-08-08T00:54:55.07+00:00

    Seeing the same issue here too. Our application sends mail with the 'replyto' property set. We've seen evidence of the emails being sent without the reply to being inserted into the header for about a week now. We've confirmed using Graph Explorer that graph is sending mail but ignoring the 'replyto' property, so it's not our app that is the cause - it's the API.

    I have raised a ticket with MS - case 2408080030000351 - if anyone else has raised a ticket regarding this please post the number here and I'll reply to my ticket with your ticket numbers to try to get some movement at Microsoft HQ...

    5 people found this answer helpful.

  2. Pedro 11 Reputation points
    2024-08-07T09:33:45.01+00:00

    Same problem here using Graph API, with paid accounts, in our case when creating a draft message defining the ReplyTo field, the response json shows the replyTo correctly, but if the draft message is accessed with another request, the ReplyTo field has disappeared. Using the message update function doesn't work either, it modifies other fields, but not the ReplyTo.

    2 people found this answer helpful.

  3. Vilius Šumskas 16 Reputation points
    2024-08-07T17:47:36.8666667+00:00

    Same here, it worked few days ago, but now it doesn't.

    2 people found this answer helpful.

  4. Yakun Huang-MSFT 6,885 Reputation points Microsoft Vendor
    2024-08-06T02:53:12.6466667+00:00

    Hi @Furdui, George (FR - External)

    After my test, this property is valid, and I set the value of the replyTo property when I sent the email, as shown in the following figure:

    Screenshot 2024-08-06 104809

    Below is the corresponding result for the endpoint that requested to list all messages, and you can see that in the replyTo property, there is a value that was set when the message was sent.

    Screenshot 2024-08-06 105019

    If you set this property does not work, please check whether the email address you set exists or is valid, whether the request endpoint is correct, etc.

    Details can be found at the following link:

    https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http

    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.

    1 person found this answer helpful.

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.