Dynamic Content / Conditional Content Example using Java Server Pages (JSP) |
Links to external sites are able to be created in dynamic content and used in messages to the targeted customers..
http://click.client.com/1234567.345.0.0.http://www.client.com/[email protected]
In the HTML version, the message body hides the long URL within its formatting. However, in the text version, it appears as it does above. Long URLs will wrap to a second line in some text-only email clients making it unclickable.
If you are using dynamic content to personalize links, static content with merge tags is a better solution.
<HTML> <b>Dear</b> <%=request.getParameter("firstName")%> <%=request.getParameter("lastName")%>: <br><br>
<a href="http://client.com/signup.jsp?email=<%=request.getParameter("email")%>"> Sign Up Page</a>
<a href="http://client.com/[email protected]"> Sign Up Page</a>