❔ graph .net sdk email

VLVive L'athéisme3/13/2023
Hello,

I'm trying to send an email via graph .net sdk.

Here is my code.

  var message = new Message()
        {
            ToRecipients = new List<Recipient>()
            {
                new Recipient()
                {
                    EmailAddress = new EmailAddress()
                    {
                        Address = "aka.emre@hotmail.com",
                    }
                }
            },
            Subject = "Test mail",
            Body = new ItemBody()
            {
                ContentType = BodyType.Text,
                Content = "Test mail content aşko kuşkoo"
            },

        };

        await GraphServiceClient.Me.SendMail(message, true).Request().PostAsync();


And here is the error message: Microsoft.Graph.ServiceException: Code: RequestBodyRead
Message: The 'odata.nextLink' instance or property annotation has a null value. In OData, the 'odata.nextLink' instance or property annotation must have a non-null string value.
VLVive L'athéisme3/13/2023
Updated the version.
VLVive L'athéisme3/13/2023
1.16.0 to 2.5.0
AAccord3/14/2023
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.