web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Input Submit Form info...
Power Apps
Unanswered

Input Submit Form information in Body of the email

(0) ShareShare
ReportReport
Posted on by

Good morning everyone,

 

I'm having issue in trying to send value information of the form in my email.
What I would like to do is when I send an email, in the "Body" of the email I want to have the "First Name" and "Last Name" of the person who submitted the form.

Example:

Office365Outlook.SendEmailV2(
    "new@outlook.com",
    "New Heat Customer Has Just Been Added",
    'First Name_DataCard1' & " " & 'Last Name_DataCard1' & " Has Just Completed The New Customer Form For Heat Group."
)
 
First Name_DataCard1 & Last Name_DataCard1 are the names in my form:
NewberneData_0-1717679941507.png

I also input this information into the "button" "OnSelect" section as well.

NewberneData_1-1717680004749.png

 

I know this can be done but having issues in trying to find information and tools into how to properly input this.

Hopefully, I can get some help with this.

If so, Thank you

Categories:
  • madlad Profile Picture
    2,637 Moderator on at

    Hi!

     

    To get the values from datacards, you can use DataCardName.Update

    So just use something like:

    Office365Outlook.SendEmailV2(
     "new@outlook.com",
     "New Heat Customer Has Just Been Added",
     'First Name_DataCard1'.Update & " " & 'Last Name_DataCard1'.Update & " Has Just Completed The New Customer Form For Heat Group."
    )

     

    Hope this helps!

  • CU15082249-0 Profile Picture
    on at

    I tried using this and it did not work. Thanks for the help

  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    Hi @NewberneData ,

    You simply need the name of the Text Inputs in the Data Cards

    Office365Outlook.SendEmailV2(
     "new@outlook.com",
     "New Heat Customer Has Just Been Added",
     FirstNameTextInputName.Text & " " & LastNameTextInputName.Text & " Has Just Completed The New Customer Form For Heat Group."
    )

     

    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

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard