{"id":8759,"date":"2024-10-31T03:01:53","date_gmt":"2024-10-30T18:01:53","guid":{"rendered":"https:\/\/m365jp.net\/?p=8759"},"modified":"2024-10-31T03:45:42","modified_gmt":"2024-10-30T18:45:42","slug":"mc921752-retirement-of-the-sharepoint-sendemail-api","status":"publish","type":"post","link":"https:\/\/m365jp.net\/index.php\/2024-10-31-mc921752-retirement-of-the-sharepoint-sendemail-api","title":{"rendered":"MC921752 | Retirement of the SharePoint SendEmail API"},"content":{"rendered":"<div class=\"postie-post\">\n<div>\n<hr>\n<table id=\"section\">\n<tbody>\n<tr>\n<th width=\"95%\">MC921752 | Retirement of the SharePoint SendEmail API<\/th>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<table id=\"data\">\n<tbody>\n<tr>\n<th>Classification<\/th>\n<td>planForChange<\/td>\n<\/tr>\n<tr>\n<th>Last Updated<\/th>\n<td>10\/30\/2024 17:58:42<\/td>\n<\/tr>\n<tr>\n<th>Start Time<\/th>\n<td>10\/30\/2024 17:56:12<\/td>\n<\/tr>\n<tr>\n<th>End Time<\/th>\n<td>11\/24\/2025 08:00:00<\/td>\n<\/tr>\n<tr>\n<th>Message Content<\/th>\n<td>\n<p>We will be retiring the Utility.SendEmail API from SharePoint. The SP.Utilities.Utility.SendEmail could be used to send emails from custom applications or processes within SharePoint Online, including Power Automate, and custom workflows.<\/p>\n<p>From custom code the API can be referenced via REST as (\u201c\/_api\/SP.Utilities.Utility.SendEmail\u201d) while for CSOM, it would be \u201cUtility.SendEmail\u201d with more information on the original implementation at  <a href=\"https:\/\/learn.microsoft.com\/previous-versions\/office\/sharepoint-csom\/jj167799(v=office.15)\" target=\"_blank\" rel=\"noopener\">  Utility.SendEmail method<\/a>&nbsp;for CSOM.<\/p>\n<p>[When this will happen:]<\/p>\n<p>October 31, 2025<\/p>\n<p>  <\/p>\n<p>[How this will affect your organization:]  <\/p>\n<p>Any components, custom code, or Power Automate connections that utilize the SP.Utilities.Utility.SendEmail API, should be updated before the end of life date. The API will stop providing services on the retirement date and will no longer send any email requests   from that date.  <\/p>\n<p>[What you need to do to prepare:]  <\/p>\n<p>Migrate any custom code, power automate, processes or policies running within SharePoint Online that have been configured to send email using the SP.Utilities.Utility.SendEmail API.    <\/p>\n<p>The following are recommended or alternative approaches:  <\/p>\n<ol>\n<li>Use Microsoft Graph to send email using the user: SendMail API (Part of the Outlook mail workload)  <a href=\"https:\/\/learn.microsoft.com\/graph\/outlook-create-send-messages\" target=\"_blank\" rel=\"noopener\">  Automate creating, sending, and processing messages<\/a><\/li>\n<li>Customizations through Power Automate may also utilize the Outlook connector and utilize \u201cSend an email\u201d within the Actions.  <a href=\"https:\/\/learn.microsoft.com\/power-automate\/email-overview\" target=\"_blank\" rel=\"noopener\">  Overview of using Outlook and Power Automate<\/a>&nbsp;<\/li>\n<\/ol>\n<p>Learn more:  <\/p>\n<ol>\n<li><a href=\"https:\/\/go.microsoft.com\/fwlink\/?linkid=2289866\" target=\"_blank\" rel=\"noopener\">Retirement of the SharePoint SendEmail API<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/graph\/outlook-create-send-messages\" target=\"_blank\" rel=\"noopener\">Automate creating, sending, and processing messages<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/power-automate\/email-overview\" target=\"_blank\" rel=\"noopener\">Overview of using Outlook and Power Automate<\/a><\/li>\n<\/ol>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>MC921752 | Retirement of the SharePoint SendEmail API Classification planForChange Last Updated 10\/30\/2024 17: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8759","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/posts\/8759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/comments?post=8759"}],"version-history":[{"count":0,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/posts\/8759\/revisions"}],"wp:attachment":[{"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/media?parent=8759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/categories?post=8759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/tags?post=8759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}