I'm trying to use a SendPushNotification to Powerapps, but for some reason, it fails when I add multiple email addresses.
According to this, they should be separated by a semicolon
https://powerusers.microsoft.com/t5/Using-Flows/Bug-Multiple-recipients-Send-email-comma/td-p/4159
According to this, it cannot be done
Any confirmation on this?
How do I reference a SharePoint list of users instead?
Alright @Boneckrh19, Please just take it as my way of giving respect to a higher-up than me =). Apology accepted BTW 😃 Have a nice day, Stay Safe and Happy Coding 😃
Ah, my apologies. For the record, I am not a Sir either. Perhaps it is for the best not to assume, then?
Hi Sir Boneckrh19,
Thanks for your great help and I highly appreciate it but what I don't really appreciate is calling me a "Miss" where I am actually a "Mister".. 😂🤣😂
Anyways, Thanks again Sir.
Best Regards
rpafurong
HarSingh, it should look something like this;
ForAll(Split(TextInput.Text, ", "),
Office365.SendEmail(Result, ...)
)
I'm glad my code worked for you as well, Miss rpafurong17!
Hi Sir HarSingh,
Yes, I was able to do this as Sir Boneckrh19 instructed, but unfortunately I cannot provide you the codes I have written before as I am not with the company anymore and has no access to my codes. But yes it is doable,, 😃
I'm very sorry sir . . .
Sincerely,
rpafurong17
Hi @Anonymous ,
Were you able to achieve this? I am trying to achieve the same thing but if if put multiple emails, it just send to the last email. TIA!
Hi Boneckrh19,
Thanks for your Immediate reply.
I will definitely try this out asap.
Thanks.
@Anonymous
If you mean that users would be typing multiple email addresses into a text input, you would just need to use the Split() function to access each email address.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-split
Something like one of these options, depending on what your divider is
Split(TextInput.Text, " ") or Split(TextInput.Text, ", ") or Split(TextInput.Text, "x ")
Wrap that in a ForAll loop (because the results of a Split is a table) and you can loop through the table and use Office365.SendEmail with the result of the split as the recipient.
Hi
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional