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

Consent and forms

How Exponential handles consent for e-mail (essential and optional mail, double opt-in, one-click unsubscribe, the consent log and the suppression list), what newsletters add, and how to run contact and lead forms that…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/businesses/security/consent-and-forms.md

On this page

Consent and forms

This page is for owners, marketing staff and administrators who send mail to customers or collect data through forms. It explains what Exponential does for consent, what each part means for your business, and what you must set up or write yourself.

Warning

Basics, not legal advice. Consent rules differ by country and by the kind of mail. Read the laws that apply to you (the project maps several in E-mail preferences: the law checklist) and ask a lawyer or your data protection officer.

Contents

  1. The mail gate in one paragraph
  2. Essential and optional mail
  3. Double opt-in, unsubscribe and the consent log
  4. Newsletters
  5. Forms that collect data
  6. What you must set up yourself
  7. Checklist

The mail gate in one paragraph

Since 6.0.15 every mail the installation sends passes a mail gate, whatever transport is used. Optional mail goes only to people who turned it on, one mail per recipient, with a footer and one-click unsubscribe headers (RFC 8058). Essential mail always goes. Every change of a preference is written to a consent log with the exact text the person saw (E-mail preferences: administrator's guide).

Essential and optional mail

KindExamplesGoes to
Essential (security, orders, legal, admin)password changed, order confirmationalways
Optionalnewsletters, offers, newsonly people who switched the category on; off until they do

Source: Compliance and GDPR. Optional categories cannot be on by default unless an administrator explicitly allows it ([CategorySettings] AllowDefaultOn), and the sign-up form shows every box unticked (The law checklist).

  • Double opt-in for newsletters, offers and news, and for a new e-mail address: nothing of the category is sent until the person confirms.
  • Opening a link is not consent: the confirm and unsubscribe pages change nothing until their button is pressed.
  • Withdrawal is as easy as consent: the same box turns a category off, "Turn off all optional e-mail" is one button, every optional mail has a one-click link.
  • Consent log: time, category, old and new state, source, the exact text shown, IP address, acting user.
  • Suppression list: hard bounces, complaints, "stop all" and legal requests; only a salted hash of each address is stored.
  • The person's own copy: "Download my e-mail data" in JSON and CSV.

All from The law checklist. Check the state of your site with php bin/php/console exp:mail:status.

Newsletters

The newsletter extension cjw_newsletter, required by composer.json, lets visitors subscribe to lists "with a double opt-in", and offers subscribe, confirm, change and unsubscribe pages (cjw_newsletter). Opens and clicks are counted only when the site switches tracking on ([TrackingSettings] Tracking=disabled by default), and per person only with consent (Compliance and GDPR). The business side is in Newsletters: opt-in and consent.

Forms that collect data

Contact, feedback and lead forms use the information collector: each sending is stored as a collection (Forms with the information collector).

Good practiceHow in Exponential
Collect only what you needMark only the necessary class attributes as information collectors
Say what happens with the dataPut a short notice and a link to your privacy notice next to the form, in the template
Record agreement where you need itA checkbox attribute (ezboolean) can collect information, so a ticked box is stored with the sending
Limit who reads submissionsGive infocollector/read only to the people who process them
Remove what you no longer needSetup > Collected information removes collections after a confirmation (Collected information)
Stop spam and forged postsForm tokens (ezformtoken) and reCAPTCHA or hCaptcha (Spam protection for forms)

Note

A checkbox on a form is stored as one value of that sending. It is not entered in the mail consent log and does not switch on any mail category. If a form should sign someone up for mail, use the mail preference or newsletter sign-up, which have their own double opt-in.

A CAPTCHA service is a third party that receives data from your visitors' browsers; name it in your privacy notice.

What you must set up yourself

From Left to the site:

  1. The postal address in the mail footer (mailpreferences.ini [FooterSettings] OrganisationAddress, empty after an installation) and the sender's name (OrganisationName).
  2. A category for every commercial mail sent by custom code.
  3. Keeping [GateSettings] SplitRecipients=enabled.
  4. DKIM signing of the unsubscribe headers by the mail server, often your host's job (Mail consent and bounces).
  5. A link to the privacy notice on the registration form, if your design wants one.

Checklist

  • To do: Mail footer filled in; exp:mail:status reports no problems.
  • To do: Every marketing mail has an optional category.
  • To do: Newsletter sign-up uses double opt-in; tracking left off unless your notice covers it.
  • To do: Every form asks only for what it needs and links the privacy notice.
  • To do: infocollector/read given to few people; old collections removed on a schedule.
  • To do: CAPTCHA and other third-party services named in the privacy notice.
  • To do: Legal questions taken to your adviser.

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