Sending Email via MS 365 Graph

Hi Support

We are encountering an issue when attempting to send email via the Microsoft Graph API.

Error details:

Exception: Unable to send email message: Client error: 
`POST https://graph.microsoft.com/v1.0/users('Support%40mpr-it.co.uk')/sendMail` 
resulted in a `400 Bad Request` response:

{
  "error": {
    "code": "InvalidInternetMessageHeader",
    "message": "The internet message header name 'In-Reply-To' should start with 'x-' or 'X-'."
  }
}

The send mail 

![image|690x166](upload://7GsWnXz5vIBgiVFEbvM8OxLYcEe.png)




The message history is https://console.uk1.mspintegrations.com/email2at/advanced/history/17791919023910002t9p

Thank you

@Richard

Thanks for reporting this. We have a fix deployed to our testing site. I expect this will be live next week.

@travis Thank you, there is also a browser freeze when you enable HTML tick box.

@Richard the browser freeze is mitigated in our testing site, as well. Both should be resolved early next week.

Thanks for your patience!

Hi @Richard

Both issues should now be resolved. Please check and confirm.

If you see any other issues, please let us know!

Sending via Graph API is working now.

This is my favorite type of message to read. Thanks for confirming!

:smiley:

Will there be an easier way to update the existing connections rather than changing it in each relevant step in every workflow?

Since there can be a multiple senders, and therefore, multiple Graph connections, it can’t be a single configuration. Maybe, a one-time tool to switch from the old connection to the new connection per email sender?

If that isn’t coming, it’s not the end of the world. Just checking before I spend the time revisiting every existing workflow.

@user1 You’ve made a really good point.

I think it makes sense for the system to automatically choose the Graph API connection based on the from-address like we currently do for SMTP connections. We’ll take a look and figure out an elegant way to do that so you don’t need to modify all of your sending actions.