Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spo mail send command requires update due to the retirement of SharePoint SendEmail API #6576

Closed
Tracked by #6577
Saurabh7019 opened this issue Jan 26, 2025 · 5 comments
Assignees
Milestone

Comments

@Saurabh7019
Copy link
Contributor

The spo mail send command is using the SharePoint API endpoint /_api/SP.Utilities.Utility.SendEmail to send emails. Microsoft has announced the retirement of the SharePoint SendEmail API, so this command will require a change before October 31, 2025 to ensure it remains functional.

@milanholemans
Copy link
Contributor

Great catch @Saurabh7019! Thanks for raising this issue. I suggest that we just remove this command from our code base since people should use outlook mail send instead.
Since this will be a breaking change, we'll have to remove it in our next major release.

@waldekmastykarz
Copy link
Member

Agreed with @milanholemans. Let's mark the command for deprecation already now, to give our users a heads-up, and then remove it in the next major version.

@milanholemans
Copy link
Contributor

Agreed with @milanholemans. Let's mark the command for deprecation already now, to give our users a heads-up, and then remove it in the next major version.

That is a fair point about deprecating it, let's create another issue to remove it in v11.

@milanholemans
Copy link
Contributor

@Saurabh7019, are you willing to work on this issue? Let's add a warning for the users that this command will be removed in the next major and that people should use outlook mail send instead.

@Saurabh7019
Copy link
Contributor Author

Sure, I will do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants