I try to send a mail with your sample. But I get this error in the sendMail function in $response
Array
(
[code] => 405
[data] => {"error":{"code":"ErrorInvalidRequest","message":"The OData request is not supported."}}
)
When I try to send with "Microsoft Graph SDK for PHP" it works. I therefore do not think that it is a permission problem
I try to send a mail with your sample. But I get this error in the sendMail function in
$responseWhen I try to send with "Microsoft Graph SDK for PHP" it works. I therefore do not think that it is a permission problem