Change password email: query strings

Need to add a query parameter to the url for change password link

  • changing the template on: https://[URL]/dashboard/pi/[tenant]/templates
  • adding a query string to the link via the code
{% assign newUrl = url | replace: '#', '&abcd=efgh#'  %}
or
{% assign newUrl = url | append: '&abcd=efgh'  %}

 <a id="reset_link" href="{{newUrl}}"> Reset email </a>

the link is correctly appended and showing correctly on:

  • Gmail
  • iOS-email-app
  • mac-email-app
  • mac-outlook-app
    etc.

the link misses the query string when I open the email on:

  • MS Outlook on Windows

for outlook, had to use

<!--[if mso]>
<p>different URL</p>
<![endif]-->

for more info, this can help

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.