Broken links in mail
HI All,
I am constructing page url from the below lines of code and displaying in mail template but it has broken displaying in the mail template.
Construction of page in service:
final String pagepath = externalizer.authorLink(resourceResolver, payload);
Mail template(output):
Hi ContentReviewer,
This page/document http://100.66.0.19:4502/content/dam/briggs/documents/Copy of AEM defects - Priority.xlsx has been required approval to publish.
Please check the inbox to complete the task.
http://100.66.0.19:4502/inbox
Regards,
Your local friendly CQ5 Admin
Construction of page in service:
final String pagepath = externalizer.authorLink(resourceResolver, payload);
Can please some one help me to how to fix this issue.
Thanks in advance.