How to Add a MailWizz Unsubscribe Link: The Complete 2026 Guide

Get essential tips on adding a MailWizz unsubscribe link that ensures compliance and boosts user trust, discover the simple step-by-step process inside.
Alaa
By Alaa
SMTPedia documents email infrastructure end to end: SMTP standards from the RFC archive, delivera...
4 min read Updated Jul 28, 2026 82 views

MailWizz is a self-hosted PHP email marketing application popular with developers, agencies, and cost-conscious high-volume senders who want full control over infrastructure without SaaS subscription costs. The unsubscribe mechanism uses the [UNSUBSCRIBE_URL] merge tag auto-injected into every campaign footer, and MailWizz supports RFC 8058 header injection at the sending delivery server configuration level. Consent is tracked per list in the self-hosted MySQL database. Deployment requires PHP hosting, MySQL, and SMTP relay configuration. This guide covers the tag, the self-hosted deployment model, and how to verify the setup end to end.

Quick reference

MailWizz unsubscribe link

Tag syntax[UNSUBSCRIBE_URL]
PlacementAuto-embedded in every campaign footer
ScopePer-list opt-out in self-hosted database
Config pathBackend > Servers > Delivery servers > Additional headers
RFC 8058 one-clickManual configuration at delivery server level

How to add the unsubscribe tag in MailWizz

Place the merge tag exactly as shown below in the email template. MailWizz replaces it at send time with a signed URL scoped to the recipient and campaign.

[UNSUBSCRIBE_URL]

For custom HTML templates, wrap the tag in an anchor to render a proper hyperlink in the delivered email:

<a href="[UNSUBSCRIBE_URL]">Unsubscribe from this list</a>
Default footer

Auto-embedded in every campaign footer

!
RFC 8058 one-click: manual header required

Manual configuration at delivery server level The recipient's mailbox provider (Gmail, Yahoo) uses the List-Unsubscribe-Post header to expose the native one-click button on the message. Requires domain authentication with DKIM and DMARC.

!
Watch out for this

MailWizz self-hosted deployments require the operator to configure RFC 8058 List-Unsubscribe headers manually at the delivery server (SMTP relay) level under Backend > Servers > Delivery servers > Additional headers. Missing this configuration silently falls out of one-click compliance for Gmail and Yahoo bulk senders. Audit each delivery server configuration when scaling infrastructure.

Testing your MailWizz unsubscribe link

  1. Send a test message to a controlled Gmail address you own via the MailWizz campaign preview action
  2. Click the footer unsubscribe link and confirm the opt-out on the landing page
  3. Check the subscriber or contact record: the status should be Unsubscribed within seconds
  4. Verify the RFC 8058 headers in Gmail: open the message, click three dots, then Show original. Look for List-Unsubscribe and List-Unsubscribe-Post: List-Unsubscribe=One-Click
S

Want the full 222-platform reference?

See the pillar guide with the compliance landscape, the RFC 8058 deep dive, and the unsubscribe tag for every ESP: How to add an unsubscribe link: the complete 2026 guide →

MailWizz default templates include the unsubscribe link in the footer, but custom HTML templates require the tag inserted manually.

  1. Open your MailWizz campaign or template in the customer backend.
  2. Add or edit a text block in the footer where the unsubscribe link should appear.
  3. Insert the merge tag [UNSUBSCRIBE_URL]. MailWizz replaces it at send time with a signed URL scoped to the list subscriber.
  4. Wrap it in an anchor: <a href="[UNSUBSCRIBE_URL]">Unsubscribe</a>.
  5. Configure the delivery server List-Unsubscribe headers under Backend > Servers > Delivery servers > Additional headers for RFC 8058 compliance.
  6. Send a test to a seed address and verify the rendered link routes to the MailWizz-hosted unsubscribe confirmation page.

Self-hosted deployment and RFC 8058 configuration

MailWizz self-hosted deployments require the operator to configure RFC 8058 List-Unsubscribe headers manually at the delivery server (SMTP relay) level under Backend > Servers > Delivery servers > Additional headers. Missing this configuration silently falls out of one-click compliance for Gmail and Yahoo bulk senders. Audit each delivery server configuration when scaling infrastructure. For agencies running multiple delivery servers with different clients or brand allocations, use configuration templates to keep RFC 8058 headers consistent across the pool.

Per-list opt-out and MySQL database

MailWizz applies unsubscribes at the list level, stored in the self-hosted MySQL database. A subscriber who opts out of List A remains subscribed to List B unless the account-wide blocklist is used. Cross-list suppression is available via the Central blocklist feature which blocks matched email addresses from all future sends regardless of list. Data ownership is complete: as a self-hosted application, all subscriber data, opt-out history, and complaint feedback stays on customer infrastructure.

Agency multi-tenant and delivery server pools

MailWizz agency deployments typically run multi-tenant with each client as a customer account under one MailWizz instance. Delivery server pools segregate client sends by IP reputation, allowing per-client IP allocation without infrastructure duplication. Cross-tenant suppression is off by default, keeping client opt-out pools isolated. For high-volume agencies, monitor the MySQL database size and archive old campaign data periodically to maintain query performance on the subscribers and blocklist tables.

Frequently Asked Questions

What is the MailWizz unsubscribe tag?

The merge tag is [UNSUBSCRIBE_URL]. MailWizz replaces it at send time with a signed URL scoped to the list subscriber. Use it inside an anchor: <a href="[UNSUBSCRIBE_URL]">Unsubscribe</a>.

Does MailWizz support one-click unsubscribe for Gmail and Yahoo?

Only when the delivery server is configured for RFC 8058 headers. Configure List-Unsubscribe headers under Backend > Servers > Delivery servers > Additional headers. Missing this configuration silently falls out of one-click compliance.

Where is MailWizz opt-out data stored?

In the self-hosted MySQL database on customer infrastructure. Data ownership is complete: all subscriber data, opt-out history, and complaint feedback stays on customer infrastructure with no third-party cloud dependency.

Can agencies isolate client opt-out pools in MailWizz?

Yes. Multi-tenant deployments keep client opt-out pools isolated by default. Delivery server pools also segregate client sends by IP reputation, allowing per-client IP allocation without infrastructure duplication.

Is MailWizz suitable for high-volume production sending?

Yes with proper infrastructure. High-volume MailWizz deployments benefit from tuned MySQL performance (indexes on subscribers and blocklist tables), archived old campaign data, and multiple delivery servers with load balancing across SMTP relays.


About the Author

Alaa - SMTPedia author

Alaa · LinkedIn

Email infrastructure specialist with 8+ years of hands-on experience in SMTP, deliverability, and email verification. I’ve configured and troubleshot mail systems across Postfix, Exchange, and cloud relays, managed IP reputation and warmup campaigns, and built verification pipelines processing millions of addresses. My work spans DNS authentication (SPF, DKIM, DMARC, BIMI), bounce handling, blocklist monitoring, and compliance frameworks including CAN-SPAM and GDPR. I write every article on SMTPedia to give email professionals, developers, and marketers the accurate, RFC-grounded reference they need.


About SMTPedia

SMTPedia is an independent email industry reference covering SMTP, IMAP, POP3, email deliverability, marketing platforms, DNS authentication, and email verification. Every article is researched from official provider documentation, IETF RFCs, and industry best practices. Settings and configurations are verified quarterly.

We are cited as a source by ChatGPT, Microsoft Copilot, and thousands of email professionals worldwide. Learn more about our editorial process.