cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SunnyJess
Helper II
Helper II

Send Email on Button Press

I have a button that when pressed I want it to send an email to a specific user with the information selected via a combobox.

 

Run("email@email.com.au","Item"&Concat(ComboBox1.SelectedItems,AllowedValues))

this is the code I am using but it is coming up with error "Invocation of unknown or unsupported functions.

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @SunnyJess,

 

Do you want to send an Outlook email to a specific user within your PowerApps app?

 

I assume that you want to send an Outlook email to a specific user within your PowerApps app, I think there is something wrong with the formula that you provided.

 

If you want to send an outlook email to a specific user within your PowerApps app, you should create a connection to Office 365 Outlook and add it as a data source within your PowerApps app firstly. More details about sending emails via Office 365 Outloook within PowerApps, please check the following article:

Send emails via Office 365 Outlook within PowerApps

 

I have made a test on my side and please take a try with the following workaround:9.JPGThe OnSelect property of the Button control set to following formula:

Office365.SendEmail("Test3@xxxxxx.xxmicrosoft.com","Send email from PowerApps","Item: "&Concat(ComboBox1.SelectedItems,First_x0020_name&" "))

The received email shows up as below:10.JPG

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Shanescows
Super User
Super User

This video should walk you through everything you need to know.

 

Send an email with PowerApps

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

View solution in original post

14 REPLIES 14
v-xida-msft
Community Support
Community Support

Hi @SunnyJess,

 

Do you want to send an Outlook email to a specific user within your PowerApps app?

 

I assume that you want to send an Outlook email to a specific user within your PowerApps app, I think there is something wrong with the formula that you provided.

 

If you want to send an outlook email to a specific user within your PowerApps app, you should create a connection to Office 365 Outlook and add it as a data source within your PowerApps app firstly. More details about sending emails via Office 365 Outloook within PowerApps, please check the following article:

Send emails via Office 365 Outlook within PowerApps

 

I have made a test on my side and please take a try with the following workaround:9.JPGThe OnSelect property of the Button control set to following formula:

Office365.SendEmail("Test3@xxxxxx.xxmicrosoft.com","Send email from PowerApps","Item: "&Concat(ComboBox1.SelectedItems,First_x0020_name&" "))

The received email shows up as below:10.JPG

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Shanescows
Super User
Super User

This video should walk you through everything you need to know.

 

Send an email with PowerApps

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

View solution in original post

What if I want to send it to an email address that is from my list?

Attached is what i am working on now.  The email address is a result of a drop down selection RMA Contact.

This is the email address i want my button to send to onselect.

The current syntax does not work, can you help me find out what is wrong here?

 

 

 

 

thank you

I recently did a tutorial video on sending emails from PowerApps - 

 

https://youtu.be/W3bQXL3dI-Y

 

Hope this helps.

@ChinoDoesStuff- Do you have a link to the video that doesn't require a Google Apps account?


@jbachman wrote:

@ChinoDoesStuff- Do you have a link to the video that doesn't require a Google Apps account?


@jbachman - I have provided a link to the video that I posted on YouTube... Are you not able to get to it?

Everytime I try to access one of those videos on YouTube, it wants a Google Apps account, which unlike a regular Google account, isn't free.

PowerApps911
Regular Visitor

Hi, @jbachman that is crazy. 😞 

 

Here is a link straight to my PowerApps Playlist. Does this work for you? 

Helpful resources

Announcements
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

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Top Solution Authors
Top Kudoed Authors
Users online (3,414)