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,300 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,061 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. Oscar Morales 5 Reputation points Microsoft Employee
    2024-08-12T02:04:47.7166667+00:00

    I'm running into the same issue, where it was working before August 1st. I submitted the following on GitHub -- https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2613

    1 person found this answer helpful.
    0 comments No comments

  2. Marco vanW 76 Reputation points
    2024-08-08T12:44:35.5066667+00:00

    Same issue here. But I also noticed that this issue only happens when I sent emails with some accounts. I have been testing with Microsoft Graph the following query for https://graph.microsoft.com/beta/users/[ObjectID]/sendMail and posting the body below. When I tried with my own account, the reply to was working as expected (and I could also see the corresponding header in the email that was received) and when I then tried with another account (I signed in with another account in Microsoft Graph) and posted the same body, the replyTo was not found in the email that was received.

        "message": {
            "subject": "Request for Support",
            "body": {
                "contentType": "Html",
                "content": "TEST"
            },
            "toRecipients": [{
                    "emailAddress": {
                        "address": "support@xyz.com"
                    }
                }
            ],
            "from": {
                "emailAddress": {
                    "address": "website@xyz.com"
                }
            },
            "replyTo": [{
                    "emailAddress": {
                        "address": "max.demo@xyz.com"
                    }
                }
            ]
        },
        "saveToSentItems": true
    }```
    
    
    

  3. Josh Collier 0 Reputation points
    2024-08-13T19:27:52.4366667+00:00

    I get the same issue here using the WPO365 Microsoft Graph Mailer on Wordpress. This just started happening so there must have been something that changed.

    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.