I'm trying to set a REST CALL to:
"https://...../_api/SP.Utilities.Utility.SendEmail",
method: POST,
body:
{
'properties': {
'__metadata': {
'type': 'SP.Utilities.EmailProperties'
},
'To': {
'results': ['test group ']
},
'Body': '<p>This is a test email</p>',
'Subject': 'Test email from MS Flow'
}
It does not work because it's not properly formatted as JSON... i tried even:
{
"properties": {
"__metadata": {
"type": "SP.Utilities.EmailProperties"
},
"To": {
"results": ["Bulk Data Alteration - Supervisors"]
},
"Body": "<p>This is a test email</p>",
"Subject": "Test email from MS Flow"
}
serviceRequestId: be13629f-2030-a000-0886-2796d502dbcb