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 Apps
Answered

Emailing a link

(0) ShareShare
ReportReport
Posted on by 602

I know this isn't the correct place to post this but I'm trying to email a Link in my app but I'm struggling with the HTML code in combination with the text in the table

This formula return a red line on the ( and the ) so I'm missing something and I'm betting you guys can spot my mistake in a few seconds

 

 

 

Office365Outlook.SendEmailV2(User().Email;Artikelnaam;
"<!DOCTYPE html>
<html>
<body>

<h2>Bij deze de materiaal specificaties van onderstaand product</h2>" &
" <br> " & " <br> " &
"<h3>"& Artikelnaam &"</h3>"& " <br> " & " <br> " & 
"Klik op onderstaande link" & " <br> " & " <br> " & 

"<p><a href=" ; Gallery1.Selected.'Koppeling naar item'; ">";Artikelnaam;"</a></p>

</body>
</html>";;
Notify("Je overzicht is gemaild naar "&User().Email;Success)

 

 

2022-05-09_15-06-45.png

  

Categories:
I have the same question (0)
  • timl Profile Picture
    36,411 Super User 2025 Season 2 on at

    @RvdHeijden 

    There's a missing closing bracket after </html>" - Unless there are any other issues with the syntax, that should hopefully fix the problem. 

     

    Office365Outlook.SendEmailV2(User().Email;Artikelnaam;
    "<!DOCTYPE html>
    <html>
    <body>
    
    <h2>Bij deze de materiaal specificaties van onderstaand product</h2>" &
    " <br> " & " <br> " &
    "<h3>"& Artikelnaam &"</h3>"& " <br> " & " <br> " & 
    "Klik op onderstaande link" & " <br> " & " <br> " & 
    
    "<p><a href=" ; Gallery1.Selected.'Koppeling naar item'; ">";Artikelnaam;"</a></p>
    
    </body>
    </html>");;
    Notify("Je overzicht is gemaild naar "&User().Email;Success)

     

     

  • RvdHeijden Profile Picture
    602 on at

    @timl I've tried your solution but then the complete HTML text returns an error.

    Something with an invalid number of arguments 7 received, 3 / 4 expected

     

    2022-05-09_15-30-28.png

  • Verified answer
    timl Profile Picture
    36,411 Super User 2025 Season 2 on at

    Hi @RvdHeijden 

    Another problem I can see is that there are some ; characters in places where there should be an & symbol. Can you try this to see if the error goes away?

    Office365Outlook.SendEmailV2(User().Email;Artikelnaam;
    "<!DOCTYPE html>
    <html>
    <body>
    
    <h2>Bij deze de materiaal specificaties van onderstaand product</h2>" &
    " <br> " & " <br> " &
    "<h3>"& Artikelnaam &"</h3>"& " <br> " & " <br> " & 
    "Klik op onderstaande link" & " <br> " & " <br> " & 
    
    "<p><a href=" & Gallery1.Selected.'Koppeling naar item' & ">" & Artikelnaam & "</a></p>
    
    </body>
    </html>");;

     

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard