cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cls
Regular Visitor

Reply email link stops working

Hi,

 

I have a reply email link with dynamic content in the subject line which works the first time and then the html changes.

I have also tried the Link button in the Tool Bar, but the same thing happens.

 

Similar to this post, but I am using mailto:  and I can't get the Expression syntax right.

https://powerusers.microsoft.com/t5/Building-Flows/Send-an-email-V2-Dynamic-Content/td-p/290112

 

My working html:

<a href="mailto:cstevenson@XXXXX.ca?subject=FLHA%20submitted%20for:%20@{triggerBody()?['feature']?['attributes']?['Prj_name_label']}">FLHA</a>

 

 Changed html:

<a href="mailto:cstevenson@XXXXXX.ca?subject=FLHA%20submitted%20for:%20&lt;object custom="></a>@{triggerBody()?['feature']?['attributes']?['Prj_name_label']}<a href="mailto:cstevenson@XXXX.ca?subject=FLHA%20submitted%20for:%20&lt;object custom=">"&gt;FLHA Calgary</a>

 

Thanks,

Cindy

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi!

My suggestion is to try with the following:

concat('<a href="mailto:cstevenson@uXXXX.ca?subject=FLHA%20submitted%20for:%20',triggerBody()?['feature']?['attributes']?['Prj_name_label'],'">FLHA Calgary</a>')

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

4 REPLIES 4
efialttes
Super User
Super User

Hi!

I also got tons of problems with hyperlinks in the past, managed to convice my customer to get rid of them...

Did you consider the approach suggested at the end of the post you shared?

Hope this helps


I used an expression inside the email body using concat function:

concat('<a href="https://{url first part}',variables('myvar'),'{url last part}">Description</a>')

 

After you save, just use peek code for the Send an email (V2) and see the html body.

 

It was tested and working until they solve the email body editor.

 

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Yes, I did see your post  and I tried you expression but I couldn't the syntax right. 

 

I used this , but I get "Expression is invalid"

Can you see what I'm doing wrong?


concat('<a href="mailto:{cstevenson@uXXXX.ca?subject=FLHA%20submitted%20for:%20}',variables('@{triggerBody()?['feature']?['attributes']?['Prj_name_label']}'),'">FLHA Calgary</a>')

 

 

Hi!

My suggestion is to try with the following:

concat('<a href="mailto:cstevenson@uXXXX.ca?subject=FLHA%20submitted%20for:%20',triggerBody()?['feature']?['attributes']?['Prj_name_label'],'">FLHA Calgary</a>')

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



That is the right, thank you!! 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (4,030)