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

Send email from powerapps display before send

Morning.  

I am trying to send email from in Powerapps using Office365Outlook.SendEmailV2 

 

currently OnSelect I have

 

 

Office365Outlook.SendEmailV2 
(
ThisItem.'Employee Name'.Email, 
"Subject field text",
"body field text"
)

 

 

this works perfect and sends the email but does not allow the user to view the email before sending. 

 

Is there way to display the message before sending it. 

1 ACCEPTED SOLUTION

Accepted Solutions

Thank you very much -   I ended up creating a variable for the email address and used

 

Launch("mailto:"& varemail & "") which launched Outlook. 

 

Thank you for the advise. 

View solution in original post

3 REPLIES 3
WarrenBelz
Super User
Super User

Hi @Sn3l ,

The best you will do here (which I do) is to have a "dummy" email on a screen with all the elements on labels and then the send button on that screen.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

MVP (Business Applications)   Visit my blog Practical Power Apps

 

 

Sujikumar
Advocate IV
Advocate IV

navigation on data click on add data and drop-down list -> click connector -> office 365 outlook  and office 365 user   

 

1) button onselect  property  

 

code:

Office365Outlook.SendEmailV2("your email enter","Leave is Approved","Leave Applied:" & "<br>"&
"Name: "&DataCardValue52.Text&"<br>"&
"Leave Type: "&DataCardValue63.Selected.Value&"<br>"&
"Reasons Type: "&DataCardValue61.Text&"<br>"&
"Total Leave date: "&DataCardValue60.Text&"<br>"&
""&"<br>"&"")e60.Text&"<br>"&
  ""&"<br>"&"")

 

output is display is 

Sujikumar_0-1674794523338.png

customize your data and check  

Thank you very much -   I ended up creating a variable for the email address and used

 

Launch("mailto:"& varemail & "") which launched Outlook. 

 

Thank you for the advise. 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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