cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Erannon
Regular Visitor

Mail to multiple users

Hi all,

 

I'm trying to build an app for our crisis support team. One of the features is that you should be able to send a message, via mail or sms, to all the members of the team at once.

 

Does anybody know how to do that?

I've tried with the Launch command with no success. Any suggestions is most welcome.

The data is stored in a table in an excel sheet on OneDrive.

 

/Erannon

1 ACCEPTED SOLUTION

Accepted Solutions

Hi, 

 

I think I solved it!! 😄

 

I've got some (a lot) help from a friend and combined the Launch, Concate and the Collect functions on a button.

Collect(Samling1; Krisstodjare);;Launch("mailto:" & Concat(Samling1; Epost & ";"))

 

And it worked like a charm. Thought you guys wanted to know.

 

/Erannon

View solution in original post

7 REPLIES 7
SPDevelKMT
Advocate V
Advocate V

If you are storing the data from your app in SharePoint, you can create a Flow that triggers when a new Item(for a list) or a new file(for a library) is added to SharePoint.  Flow has a Send an Email action that you can configure to send an email to as many users as required.  You can also set the body and subject of the email within the flow.  

Shanescows
Super User
Super User

In this video I show you how to Send an email with PowerApps. Is that what you are looking for?

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training

Thanks for your answer

That would probably work. Never used flow before but i can give it a try.

Unfortunately (spelling?) I can not use a Sharepoint list. Can you use flow with an excel sheet?

 

/Erannon

 

 

@Shanescows

I've watched your video, great work btw.

 

One of the benefits of the app would be that the members can manage their own contact info themselfs, so hard coding the adresses wouldn't work.

 

I've tried to use the Launch function.

Launch("mailto:"&Epost)

But I only get the first post in the table in the adress field.

 

Any thoughts?

 

(Pardon my spelling. English isn't my first language)

You could give them a text field in the PowerApps app to enter email address and then use that for the To: line when they press send. 

 

I haven't done it before but that seems to work in my head. 

 

Sorry, I have never tried to use Launch. Hold that. I was curious so I played and this works for me:

 

Launch("MailTo:shane@powerApps911.com&Subject=This is my subject text&Body=This is my email body")

 

 

Shane

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training

Hi, 

 

I think I solved it!! 😄

 

I've got some (a lot) help from a friend and combined the Launch, Concate and the Collect functions on a button.

Collect(Samling1; Krisstodjare);;Launch("mailto:" & Concat(Samling1; Epost & ";"))

 

And it worked like a charm. Thought you guys wanted to know.

 

/Erannon

View solution in original post

9dj89
Frequent Visitor

You can mail to different users by storing all user emails in one text variable separated by semicolon and defining it in the email portion of the send email function.  

 

For example: Office365Outlook.SendEmail(_emailName,"Testing","EmailBody")

 

where _emailName is emails seperated by semicolons. 

Thanks, 

Helpful resources

Announcements
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,197)