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 / Send Mail with Text pa...
Power Apps
Answered

Send Mail with Text paragraph

(0) ShareShare
ReportReport
Posted on by 392

Hello everybody,
I would like to send answers from my form to a group of people when saving via a button and short, simple and well-ordered mail.

 

How can you enable heels between the bodys?

 

On select:


Office365Outlook.SendEmail (Email_Distribution; "Subject"; Body1 "&" Body2 "&" Body3 ")

 

Many thanks

 

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,570 Most Valuable Professional on at

    Hi @Robertjde ,

    Note the V2 below as this recognises HTML

    Office365Outlook.SendEmailV2(
     Email_Distribution; 
     "Subject"; 
     "<p>" & Body1 & "</p><p>" & Body2 & "</p><p>" & Body3 &"</p>"
    )

     

    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.

  • Robertjde Profile Picture
    392 on at

    there is a mistake somewhere

     

    Mail Text Absatz.PNG

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

    @Robertjde ,

    The mistake is your references to Text1, Text2 and Text3. Are they Variables or controls? I cannot see your data, but you need to reference these correctly.

  • Robertjde Profile Picture
    392 on at

    @WarrenBelz 

    Oh my mistake !!! It works!!!

     

    Do you have an idea how to add a browser link to the formula???

     

    Office365Outlook.SendEmailV2(Email_Verteiler;

    "QA Vorfall " & Dropdown1_3.Selected.Result & " Artikelnr. " & TextInput1_1.Text ;
    "<p>" & "Vorfall Melder von: " & TextInput1.Text & "</p><p>" & "Abweichung an: " & Dropdown1_9.Selected.Result &"</p><p>"& "Art der Abweichung: " & Dropdown1_10.Selected.Result & "</p><p>" & "Beschreibung des Vorfalls: " & TextInput1_2.Text &" </p>"

    )

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

    Hi @Robertjde ,

    Assuming you had a valid URL in  Text box called WebLink in the example below.

    Office365Outlook.SendEmailV2(
     Email_Verteiler;
     "QA Vorfall " & Dropdown1_3.Selected.Result & " Artikelnr. " & TextInput1_1.Text ;
     "<p>" & "Vorfall Melder von: " & TextInput1.Text & "</p>
     <p>" & "Abweichung an: " & Dropdown1_9.Selected.Result &"</p>
     <p>"& "Art der Abweichung: " & Dropdown1_10.Selected.Result & "</p>
     <p>" & "Beschreibung des Vorfalls: " & TextInput1_2.Text &" </p>" & 
     "<a href='" & WebLink.Text & "'>Click here for the link</a>"
    )

    Note the quote pairs before and after the link '" (single-double) then "' (double-single)

     

    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.

     

  • Robertjde Profile Picture
    392 on at

    @WarrenBelz  unfortunately it doesn't work

     
    an error at https: is displayed

     

    text.PNG

     

    Office365Outlook.SendEmailV2 (Email_Verteiler; "QA Vorfall" & Dropdown1_3.Selected.Result & "Artikelnr." & TextInput1_1.Text;
    "<p>" & "Vorfall von Melder:" & TextInput1.Text & „</ p> <p > "&" Abweichung an: "& Dropdown1_9.Selected.Result &" </ p> <p> "&" Art der Abweichung: "& Dropdown1_10.Selected.Result &" </ p> <p> "&" Beschreibung des Vorfalls: "& TextInput1_2.Text &" </ p> "&" <a href = '"& https://apps.powerapps.com/play/11125746-0893-4540-b0ca-9729cdfe4c14?tenantId=22d30701- ec5e-4bdc-ba4f-b9234053b0a9.Text & "'> Klicken Sie hier für den Link </a>")

  • Robertjde Profile Picture
    392 on at

    @WarrenBelz First of all, thank you very much for your effort
    I found the mistake. The problem was the quotes around the web link

    Office365Outlook.SendEmailV2(Email_Verteiler;"QA Vorfall " & Dropdown1_3.Selected.Result & " Artikelnr. " & TextInput1_1.Text ;
    "<p>" & "Vorfall Melder von: " & TextInput1.Text & "</p><p>" & "Abweichung an: " & Dropdown1_9.Selected.Result &"</p><p>"& "Art der Abweichung: " & Dropdown1_10.Selected.Result & "</p><p>" & "Beschreibung des Vorfalls: " & TextInput1_2.Text &" </p>" & "<a href=' https://apps.powerapps.com/play/11125746-0893-4540-b0ca-9729cdfe4c14?tenantId=22d30701-ec5e-4bdc-ba4f-b9234053b0a9.Text '>Hier klicken für Vorfall Details</a>")

     

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

    Hi @Robertjde ,

    Yes - it was the spaces between the quotes and the link.

     

     

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 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard