I have a gallery with checkboxes on each item, I am trying to add all the selected items emails into one long variable, so it can be passed to outlook and pre-fill an email.
My current code ends up with the email prefilled with "placeHolder", meaning I have failed to add the emails to the variable.
I am aware that you can send emails using Office365Outlook.SendEmailV2 and its variants from within powerapps, but I need to offload functions from the app as much as possible, as this app will be used by alot of people at once, and thus will need to be quite light on the code density.
What am I doing wrong, and is there a better method to take items and add them to a single variable.
My code is:
I also have tried using a collection that gathers the selected emails and using that collection., but I couldn't get that working either.
Any help would be massively appreciated.

Report
All responses (
Answers (