Microsoft Office 365 graph API to configure in SAP Cloud integration to send emails from account instead of SMTP/IMAP service.
Is it achievable? to use Graph API instead of IMAP service to send emails from MS365 email account.
Microsoft Office 365 graph API to configure in SAP Cloud integration to send emails from account instead of SMTP/IMAP service.
Is it achievable? to use Graph API instead of IMAP service to send emails from MS365 email account.
Hi,would you please provide us with an update on the status of your issue?
No, ms office 365 graph API does not support configuration in third-party SAP Cloud integration.
You can directly call the /sendMail api endpoint to send emails:
POST https://graph.microsoft.com/v1.0/me/sendMail
Content-type: application/json
{
"message": {
"subject": "Meet for lunch?",
"body": {
"contentType": "Text",
"content": "The new cafeteria is open."
},
"toRecipients": [
{
"emailAddress": {
"address": "fannyd@contoso.onmicrosoft.com"
}
}
],
"ccRecipients": [
{
"emailAddress": {
"address": "danas@contoso.onmicrosoft.com"
}
}
]
},
"saveToSentItems": "false"
}
2 people are following this question.