web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

unabletodeserializepostbody when trying to send email via HTTP request

(0) ShareShare
ReportReport
Posted on by 15
I'm trying to send an email via HTTP for Outlook. I have tested in Graph explorer and keep getting the same error: unabletodeserializepostbody 
content-type: application/json
body:
{
  "message": {
    "subject": "A new expense report has been submitted",
    "body": {
      "contentType": "html",
      "content": "<p>this is a test</p>"
    },
    "toRecipients": [
      {
        "emailAddress": {
          "address": "info@...com"
        }
      }
    ]
  }
}
I have the same question (0)
  • Suggested answer
    chiaraalina Profile Picture
    1,009 on at
    unabletodeserializepostbody when trying to send email via HTTP request
    Hi
     
    To send email you have to use this: https://graph.microsoft.com/v1.0/me/sendMail
     
     
    The JSON you’re sending is actually the shape used for /me/sendMail, not /me/messages.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 494 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 464 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 279 Most Valuable Professional

Last 30 days Overall leaderboard