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
Community Support
Community Support

Re: Send Email on Button Press

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

Highlighted
Super User
Super User

Re: Send Email on Button Press

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

13 REPLIES 13
Community Support
Community Support

Re: Send Email on Button Press

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

Highlighted
Super User
Super User

Re: Send Email on Button Press

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

JohnZ
Regular Visitor

Re: Send Email on Button Press

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?

 

 

 

 

javierz Helper III
Helper III

Re: Send Email on Button Press

thank you

ChinoDoesStuff Advocate II
Advocate II

Re: Send Email on Button Press

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

 

https://youtu.be/W3bQXL3dI-Y

 

Hope this helps.

jbachman Helper I
Helper I

Re: Send Email on Button Press

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

mbrocchi1 Advocate II
Advocate II

Re: Send Email on Button Press


@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?

jbachman Helper I
Helper I

Re: Send Email on Button Press

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

Re: Send Email on Button Press

Hi, @jbachman that is crazy. 😞 

 

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

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (4,458)