Created
March 6, 2019 06:26
-
-
Save jongalloway/9885d9687290f637c6c5b3da12ba593f to your computer and use it in GitHub Desktop.
Microsoft Graph E-mail Sample - POST to https://graph.microsoft.com/beta/me/sendmail from https://developer.microsoft.com/en-us/graph/graph-explorer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"message": { | |
"subject": "HTML Test", | |
"body": { | |
"contentType": "html", | |
"content": "<!DOCTYPE html> | |
<html> | |
<head> | |
<body> | |
<h1>HTML Test</h1> | |
</body> | |
</html>" | |
}, | |
"toRecipients": [ | |
{ | |
"emailAddress": { | |
"address": "[yourgmailhere]@gmail.com" | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment