Hi all,
I'm looking for a solution to send an invitation to a person by a Power Automate flow whenever an item is added in a SharePoint list. I cannot use the regular Send an Email action due to company policies but I can use Send an HTTP request to SharePoint. I saw several posts regarding this subject but none of them helped me any further. What I'm looking for is a step by step description of the actions I have to implement to get it to work. I have been using the Send an HTTP action with the _api/SP.Utilities.Utility.SendEmail request a lot but never with an attachment. I'm able to create the ICS file following Manual T. Gomez's post but cannot use to regular mail action like he did. Is there a way to send the file as an attachment with _api/SP.Utilities.Utility.SendEmail? Any advice is welcomed!
Regards, Jos
Hi @jalbers55
That means you can send message only using that API. Its a restriction for that API _api/SP.Utilities.Utility.SendEmail
Hope it make sense.
Thanks
Hi abm,
"You cannot add attachments via this API call." That's a shame because I'm not technical enough to understand the posts you added. Thanks anyway for your reply.
Hi @jalbers55
You cannot add attachments via this API call.
How to send an email using REST API in SharePoint? (mundrisoft.com)
For inline attachment see below.
json - How do I send Email with inline Attachments - Stack Overflow
Thanks
Thanks
WarrenBelz
146,731
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,075
Most Valuable Professional