GoMail is a powerful library for sending emails via multiple providers, including SMTP, Gmail API, Microsoft Graph API, SendGrid, AWS SES, Mailgun, Mandrill, Postmark, and SparkPost. Supporting attachments, plain text, and HTML content, it simplifies email integration for developers with easy setup and robust functionalities.
The update to github.com/microsoftgraph/msgraph-sdk-go v1.46.0 has renamed the method users.NewItemSendmailPostRequestBody() to users.NewItemSendMailPostRequestBody() in the package github.com/microsoftgraph/msgraph-sdk-go/users.
To Reproduce
Steps to reproduce the behavior:
Update github.com/microsoftgraph/msgraph-sdk-go from v1.45.0 to v1.46.0.
Navigate to the code that calls the library.
Encounter an error indicating that users.NewItemSendmailPostRequestBody is not found.
Expected behavior
The method NewItemSendmailPostRequestBody should exist and function correctly as before, albeit under its new name NewItemSendMailPostRequestBody.
Additional context
The method NewItemSendmailPostRequestBody has been renamed to NewItemSendMailPostRequestBody in the latest version of github.com/microsoftgraph/msgraph-sdk-go. Please update your code to use the new method name in the users package to ensure compatibility with v1.46.0 of the SDK.
Describe the bug
The update to
github.com/microsoftgraph/msgraph-sdk-go v1.46.0
has renamed the methodusers.NewItemSendmailPostRequestBody()
tousers.NewItemSendMailPostRequestBody()
in the packagegithub.com/microsoftgraph/msgraph-sdk-go/users
.To Reproduce Steps to reproduce the behavior:
github.com/microsoftgraph/msgraph-sdk-go
from v1.45.0 to v1.46.0.users.NewItemSendmailPostRequestBody
is not found.Expected behavior The method
NewItemSendmailPostRequestBody
should exist and function correctly as before, albeit under its new nameNewItemSendMailPostRequestBody
.Additional context The method
NewItemSendmailPostRequestBody
has been renamed toNewItemSendMailPostRequestBody
in the latest version ofgithub.com/microsoftgraph/msgraph-sdk-go
. Please update your code to use the new method name in theusers
package to ensure compatibility with v1.46.0 of the SDK.