
I want to do this for selected email messages.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
hi
it's possible to upload an email from outlook office 365 with all his attachments, in SharePoint?
Thanks
Ugo
I want to do this for selected email messages.
If you are planning to write code, I suggest that you use the Microsoft Graph. You can do this in most types of C# applications or using the SharePoint Framework.
To get the information about the email message you'll want to take a look at the operations in the Mail endpoint, specifically Get Message, List Attachments and Get Attachment. To save the email message and attachments to a SharePoint document library, you'll want to look at the operations in the Files endpoint, specifically Get Drive, Create Folder and Upload.
The basic steps would be:
$value
path segment and upload it to the folder in the document library created in Step 2. $value
path segment, and uploading each to the folder in the document library created in Step 2. You could also use Power Automate. The process is basically the same as described above but the mechanics are different. There are several blog posts and YouTube videos that describe this process in detail, here's one example: How to Save email attachments to SharePoint with PowerAutomate.
I hope this helps.