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 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:
  • timl Profile Picture
    37,287 Super User 2026 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
    37,287 Super User 2026 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard