Format the HTML

The same concepts and procedures that apply to HTML messages apply to creating TEXT and AOL messages. Full formatting is available only in HTML messages.

In the following example, the e-mail string created by retrieving the E-mail parameter passed through the URL to append the E-mail Address as an argument to the end of a link.

Note: While this is technically possible it is important to test and consider the ramifications of the resulting link. The system appends the full link created here to the standard Connect base path. This is because the dynamically created and unique link is not present or defined through the Link Validation section. Therefore, the example results in a link that looks like this:
http://click.client.com/1234567.345.0.0.http://www.client.com/dyn.jsp?
[email protected]

In the HTML version, the message body hides the long URL within the formatting.  However, in the TEXT version, it appears as it does above.  Long URLs wrap to a second line in some text-only e-mail clients making it unclickable.

If you're using dynamic content only to personalize links, Mail Merge is a better solution.

HTML Example

<HTML>
<b>Dear</b> <%=first%> <%=last%>:
<br><br>
You can also manipulate, perform logic, or combine these strings. The following is an example of a parameter merged to a URL:
<a href="http://www.client.com/signup.jsp?E-mail=<%=e-mail%>"> Sign Up Page</a>
When the servlet finishes evaluating the code, it returns the following HTML as content to the Connect Mail Composer (if '[email protected]' was the value passed):
<a href="http://www.client.com/[email protected]"> Sign Up Page</a>