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.

The visible link is only half the job: inbox providers also look at the List-Unsubscribe header when they decide where your email lands.

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.

Once a reader clicks, Mailpro takes care of the rest through unsubscribe management. For what inbox providers now expect from bulk senders, read one-click unsubscribe (RFC 8058), and see the newsletter unsubscribe link for the basics.

Mailpro and your newsletters

Beyond the unsubscribe link — newsletters that look like you

Mailpro gives you 600+ responsive templates and an editor that lets you style every detail, and you pay for the emails you send, not the contacts you store.

Start free with MailproSee Mailpro pricing

Previous question

   

Next question

You might also be interested in:

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

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 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 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

Is it possible to edit the color of the hyperlink text?

Link color plays a key role: it signals to the reader that a word is clickable and reinforces your brand's...

Read more