How to change the text or style of the unsubscription link (and "web version")?

The displayed text and appearance (color, size, style) of the unsubscription link and the "web version" link are entirely up to you: it is you who creates the link in your HTML code, with the wording and style you want. Simply insert the corresponding variable into the "href" attribute. At the time of sending, Mailpro only replaces the link's destination (the URL) — it never modifies the text or style you have defined.

The two available variables

  • $WebVersion$ — displays the email in the browser (online version).
  • $UnsubscriptionLink$ — allows the recipient to unsubscribe.

Changing the link text

Simply write the text of your choice between the "<a>" and "</a>" tags, and place the variable in the "href":

<a href="$UnsubscriptionLink$">I no longer wish to receive these emails</a>
<a href="$WebVersion$">View in browser</a>

Changing the link style

Add your own styles ("style" attribute or CSS class) exactly as you would for any link in your email:

<a href="$UnsubscriptionLink$" style="color:#888888; font-size:12px; text-decoration:underline;">Unsubscribe</a>

Important point: the variable must always be located in the "href" attribute of a link. If written alone in the text, it will not be replaced.

Is case sensitivity important?

No. Uppercase and lowercase do not matter: "$WebVersion$", "$webversion$" or "$WEBVERSION$" work identically. However, we recommend keeping the spelling from the examples above for clarity.

What happens if I don't add these variables?

If you do not insert any of these variables, Mailpro automatically adds an online version link at the top of the email and an unsubscription link at the bottom. The variables are therefore only used to choose the location, text, and style of these links yourself within your template.

Previous question

You might also be interested in:

Plain text message

A complete newsletter ships with two versions: HTML (visual) and plain text. Mailpro auto-generates the text version — and you...

Read more

How can I change the viewing link and the unsubscribe link?

The view online and unsubscribe links are mandatory in every newsletter — required by GDPR, CAN-SPAM and CASL. Mailpro inserts...

Read more

How do you manage unsubscriptions?

Mailpro handles unsubscribes automatically across every campaign. You stay GDPR and CAN-SPAM compliant with zero manual setup. Important: an unsubscribe link...

Read more

How to personalize automatic links inside newsletters?

Mailpro's automatic links ("view online", "unsubscribe") are inserted by default. You can customise them to match your brand. Pro tip: you...

Read more

How can I change the alignment of automatic links?

Mailpro automatically adds the view online and unsubscribe links in the footer. You can fully control alignment, language and style. Pro...

Read more