Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Add mulitple files to V2-email

Hi everybody,


I have the following topic I don't succeed solving myself:


This is the background:

I have an App with multiple Attachment controls. In each attachment control there are files uploaded that will be stored as individual files in a SP library.


On the OnAddFile-control of the attachment control I set the following variable:



OnAddFile= Set(Var_EmailAttachment1,AttachmentControl_11.Attachments)





This variable I later use in my Office365Outlook.SendEmailV2- connector to attach the file to the mail on a separate button.


OnSelect= Office365Outlook.SendEmailV2(
User().Email,"Receipt for Offer "&Var_PictureName,
RenameColumns(Var_EmailAttachment1,"Value","ContentBytes")})<p> </p><p><span>With One file this works just fine. If I now want to send out multiple attachment coming from multiple attachment controls I do not succeed.</span></p><p><font face="inherit">The way I thought out <font face="inherit">fails. In that case what I do is adding the multiple<font face="inherit"> attachments to a collection that should then be send out in the V2-message.</font></font></font></p><div><font face="inherit"><font face="inherit"><font face="inherit"><li-code lang="markup">OnAddFile= Collect(Coll_Pics,(Var_EmailAttachment1))<p>OnSelect=</p><p> <li-code lang="markup">OnSelect= Office365Outlook.SendEmailV2(
User().Email,"Receipt for Offer "&Var_PictureName,



When doing that I receive the following error message:

As always, thanks ahead for your hel

best regards




Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,089)