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 / Building PowerApps Ema...
Power Apps
Answered

Building PowerApps Email Template

(1) ShareShare
ReportReport
Posted on by 162

Dear Team,

 

I want to create email template where I could allow to click on SEND button and it will send the email to respective recipient.

Is it doable in the PowerApps? 

To: {the email address}

 Title: {Text}

Body:{Text}

 

phearin_0-1595988007741.png

 

 

Thanks,

Phearin

Categories:
I have the same question (0)
  • KrishnaV Profile Picture
    5,023 on at

    Hi @phearin ,

     

    Yes, you can 100% do it.

    Add Microsoft365Outlook connector.

    Microsoft365Outlook.SendEmailV2("email","subject","Body")

     
    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • phearin Profile Picture
    162 on at

    @KrishnaV ,

     

    Thank you for your solution, but I want to make our email template more dynamic where we can customize the body content, not just only text? 

     

    For example, Dear Sir/Madam, in this section we want to use data from email or SP list content instead of typing manually. 

    The body section also can break the line, as in the example for the solution, it will send with single line of text without hierarchy. 

    I meant the format of email not professional.

     

    Please advise.


    Thanks,

    Phearin

  • Verified answer
    KrishnaV Profile Picture
    5,023 on at

    Hi @phearin ,

     

    Use this email structure see if that works for you or not:

    Microsoft365Outlook.SendEmail(
     "email address here",
     "Subject", 
     "<font size=10> Bell Customer Report</font><br> <b>Customer ForeName: </b>"& textInput1.Text & "<br><b>Customer Surname: </b>"& customerName.Text, 
     {
     IsHtml:true,
     Importance: "Normal"
     }
    )


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @phearin ,

    Does the "To" ComboBox connect to a Person column in your SP List?

    Do you want to generate your email content automatically based on the selected option within the ComboBox, the Title Text Input value, and Details Text Input Box?

     

    I have made a test on my side, please consider try the following workaround:

    8.JPG

     

    9.JPG

     

    10.JPG

    Set the OnSelect property of the "Send Email" button to following:

    Microsoft365Outlook.SendEmailV2(
     ComboBox1.Selected.Email,
     SubjectBox.Text,
     "Dear " & ComboBox1.Selected.DisplayName & ", <br/>" & RichTextEditor1.HtmlText
    )

     

    If you want to select multiple person in your "To" ComboBox, please modify above formula as below:

    Microsoft365Outlook.SendEmailV2(
     Concat(ComboBox1.SelectedItems, Email & ";"),
     SubjectBox.Text,
     "Dear " & Left(
     Concat(ComboBox1.SelectedItems, Email & "&"),
     Len(Concat(ComboBox1.SelectedItems, Email & "&"))-1
     ) & ", <br/>" & RichTextEditor1.HtmlText
    )

     

    Please try above solution, hope it could solve your problem.

     

    Regards,

  • phearin Profile Picture
    162 on at

    @KrishnaV 

     

    Thank for your enhancement, the solution works. 


    Thanks,

    Phearin

  • phearin Profile Picture
    162 on at

    @v-xida-msft 

     

    Could you please assist me if I use richtext editor, is there anyways to put the hyperlink where it is able to link with dynamic filed in SP list? 

     

    If not, is there anyways to get it done?  

     

     

    Thanks,

    Phearin

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard