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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (17,734)