In OneDrive for Business i have a folder call /SendFiles
The file names is dynamic in this folder, so there is always different filenames on the files. I like to create a Flow sending all files in this folder, as attachment in one single e-mail. The files should be deleted after the email is sendt.
eg.
Files: test001.jpg, test002.jpg, test001.doxc is in the folder /SendFiles and should all be attached in a email to eg john.doe@test.com.
The next day, the files: test004.jpg, test005.jpe, test002.docx is in /SendFiles and should be attached to an email to eg. jane.doe@test.com.
Any idea how to send all files in a OneDrive for Business filder in one single e-mail?
Hi guuys,
do you know how to fix the issue with photos. I cannot open kpeg photos files. Is it possible that the flow corrupts/breaks them?
Hi @abm ,
Have your problem been solved refer to @abm 's solution, please take a try and if your problem could be solved, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @TrulsB
The below flow steps explains how to send muliple attachments as single email.
Above the expression for the ContentBytes are as follows:
body('Get_file_content_using_path')['$content']
Finally place the send an email flow action step outside the loop.
Reference: https://flow.microsoft.com/en-us/blog/multiple-attachments-single-email/
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.
Thanks
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1