Not able to resolve the contextPath in html mail content

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Not able to resolve the contextPath in html mail content

Ramagopal Devapatla
Hi,

I am using thymeleaf to send an email template with url + query parameters, its not able resolve the url part, here is sample:
=====================
<p>
Clicke Here
<br/>
Please note this link expires in 10 minutes.</p>
<p>You will be able to login once you have provided your security answer. </p>

<p>If you did not initiate this request, please contact the Help Desk.<br/>
Help Desk Contact Information</p>

=====================
The Hyperlink part of ${portalHost} is not replaced with value, the other ${optCode} is resolved properly, Also the ${portalhost} is properly resolved in Healp Desk part, when it doesn't contain any wuery parma or static part of url parameter info.

Please help me on this, what is wrong in the following statement, why the ${portalHost} was not able to resolve :

Clicke Here