Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Implementing Insert from URL [Target:$result;https://graph.microsoft.com/v1.0/me/sendMail/?

Featured Replies

  • Newbies

I feel like I’m so close but I’m stuck. I think I have all the pieces, I just don’t know how to put them together.
I have my Insert from URL:
Insert from URL [Target:$result;https://graph.microsoft.com/v1.0/me/sendMail/?uploadType=resumable -H “Authorization:Bearer AccessToken -H “Content-Type: application/json; charset=UTF-8” -H “X-Upload-Content-Type: message/rfc822” -D “$responseHeaders” -X POST -H “Content-Length: 0”]
and I have my message parameter:
{
“message”: {
“subject”: “Meet for lunch?”,
“body”: {
“contentType”: “Text”,
“content”: “The new cafeteria is open.”
},
“toRecipients”: [
{
“emailAddress”: {
“address”: “[email protected]
}
}
]
}
}
But how do I incorporate the message into the Insert from URL command? I feel like I need to wrap the message in a JSON function and place it in the Insert from URL step, but I don’t know how to do that. Thanks for your thoughts.

  • Author
  • Newbies

Thanks bcooney, I started there, but now I'm stuck and can't seem to make the connection described in my 1st post.

I am not familiar with Microsoft Graph API.

In general, when you want to post data in JSON format, you need to put the JSON text in a variable, then include these cURL options in your call:

-H "Content-type: application/json"
-d @$postData

where $postData is the name of your variable.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.