Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,199 of 9,199 pages
About the help in other languages
All help pages

One-click unsubscribe

For public bodies sending bulk e-mail - how Exponential makes withdrawal as easy as consent: an unsubscribe link and List-Unsubscribe headers (RFC 8058) in every optional mail, no login, immediate effect, and what the…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/privacy/one-click-unsubscribe.md

On this page

One-click unsubscribe

This page is for administrators and communication teams. Withdrawing consent must be as easy as giving it, and large mailbox providers require one-click unsubscribe from bulk senders. Exponential's mail gate adds both to every optional mail (Privacy standards: CAN-SPAM Act and one-click unsubscribe).

Note This page describes features and common practice; it is not legal advice. Check the law that applies to your organization with your legal counsel.

Contents

  1. What every optional mail carries
  2. What happens on a click
  3. What the site must add
  4. Checking
  5. Related pages

What every optional mail carries

Added by expMailGate::decorate():

  • a footer with the reason the person gets the mail, an Unsubscribe link and a link to their preference page;
  • List-Unsubscribe: an HTTPS link to mailpreferences/unsubscribe/<token>;
  • List-Unsubscribe-Post: List-Unsubscribe=One-Click (RFC 8058, building on RFC 2369).

The gate never rewrites From, Reply-To or Subject. Essential mail (password reset, activation, orders) is kept separate and carries no advertising. The project rates this Complies for mail that goes through the mail gate.

What happens on a click

  • No login, no form token and no cookie needed; a POST with List-Unsubscribe=One-Click takes effect at once.
  • Links do not expire by default.
  • The change is recorded in the consent log with its source.
  • On the preference page, Turn off all optional e-mail stops every optional kind at once.

What the site must add

  • The sender's postal address in the footer: mailpreferences.ini [FooterSettings] OrganisationName and OrganisationAddress (Sender details on the status page). Without them optional mail goes out without an address.
  • A category on every commercial or optional mail: mail sent without eZMail::setCategory() gets no footer and no unsubscribe link.
  • DKIM signing of the headers: done by the mail server.
  • Per-recipient sending: keep the default; SplitRecipients=disabled sends to several recipients at once without List-Unsubscribe.
  • The site secret in settings/override/mailpreferences.ini.append.php backed up: without it, links in mail already sent stop working.

Checking

php bin/php/console exp:mail:status --allow-root-user     # five times ok

Then send a test mail of an optional category to a test mailbox and look at its headers for List-Unsubscribe and List-Unsubscribe-Post. Test the gate without sending as described in Testing the gate without sending mail.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x