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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power App HTML Help: S...
Power Apps
Unanswered

Power App HTML Help: Send an email Certifcate (Not Attachment)

(0) ShareShare
ReportReport
Posted on by 20

I need assistance with power apps sending an email certificate with dynamic content from an edit form screen when a button is pressed.

Below is how the edit form looks like.

LionelCharley_0-1636196512045.png

 

 

Below is the formula.html code I am trying to use when I click a button. I am not an expert in HTML code that where I need assistance with.

 

Office365Outlook.SendEmailV2(

    DataCardValue8.Selected.Email,

    "Testing HTML",

    "<div style='width:800px; height:600px; padding:20px; text-align:center; border: 10px solid #787878'>

    <div style='width:750px; height:550px; padding:20px; text-align:center; border: 5px solid #787878'>

       <span style='font-size:50px; font-weight:bold'>Compensation Statement</span>

       <br><br>

       <span style=''ont-size:25px'><i>2021 Action</i></span>

       <br><br>

</div>

</div>"

)

 

 

 

 

Below is an example template of certificate I am trying to create using HTML codes.

LionelCharley_1-1636196512049.png

Any help on this will be highly appreciated. 

Thanks

Lio

Categories:
I have the same question (0)
  • Verified answer
    Adrian_Celis Profile Picture
    1,652 Moderator on at

    Hi @LionelCharley 

     

    You can insert dynamic values into HTML code by simply inserting your field values in it. Here is an example:

    "<span style='font-size:50px; font-weight:bold'>" & Textbox1.Text & "</span>"

    For the logo, you can't directly add an image there. You can convert your image file into base64 use that in your HTML code. Here is a video about base 64 : https://www.youtube.com/watch?v=bIne3DD3HAg

     

  • LionelCharley Profile Picture
    20 on at

    Thank you, Adrain

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard