79105600

Date: 2024-10-19 18:04:46
Score: 2.5
Natty:
Report link

There is a bracking change in v5. Consider this guide: https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/main/docs/upgrade-to-v5.md

Now this call should be like:

//var message = ....
//var saveToSentItems = ...

var body = new Microsoft.Graph.Me.SendMail.SendMailPostRequestBody
{
    Message = message,
    SaveToSentItems = saveToSentItems
};

await graphServiceClient.Me
    .SendMail
    .PostAsync(body);
Reasons:
  • Blacklisted phrase (1): this guide
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user3459232