Hey everyone
I am practising making API requests with Microsoft Graph. My goal is to send a simple mail to an employee’s mailbox.
How does my body needs to be formatted? The code under here throws an error.
Thanks!
{
“message”: {
“subject”: “Your email subject”,
“body”: {
“contentType”: “Text”,
“content”: “Hello, this is the email content.”
},
“toRecipients”: [
{
“emailAddress”: {
“address”: “recipient@example.com”
}
}
]
}
}