If you use the [%url…] command in the HTML part of a mailing, Inxmail Professional generates the a tag along with the attributes (href, further parameters) and link text automatically.
In some cases, it can be preferable to set the a tag yourself, for example, if an image rather than a link text is to be used.
You can simply set the [%url…] command in the href attribute of the a tag; here, Inxmail Professional will generate a URL for a text and image link.
Note: In this scenario, the Link text and HTML parameters arguments are ineffective in the URL command. Therefore, set the link text and optional parameters as follows:
Copy
<a href="[%url:unique-count(action!1); "https://www.inxmail.de"; ; ; "Test Link"]" target="_blank">This is a link text.</a>
or
Copy
<a href="[%url:unique-count(action!1); "https://www.inxmail.de"; ; ; "test link"]" target="_blank"><img src="https://www.example.com/image.png" /></a>