Search code examples
office365office365-appsoffice365apioffice365-restapi

Office365 send mail endpoint not working


The following request:

POST https://graph.microsoft.com/beta/me/sendMail

Fails with the following message: 400 Unsupported segment type

The request is the same as the sample found in the Microsoft page: https://msdn.microsoft.com/en-us/office/office365/howto/office-365-unified-api-in-depth

Thanks in advance


Solution

  • It is an issue with the API, it has an open issue/ticket in GitHub. Please follow up on below link when they fix this issue.

    https://github.com/OfficeDev/O365-Angular-Unified-API-Connect/issues/3

    Hope this helps.