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

exp:mailsuppression

The suppression list of the e-mail gate: list, check, add and lift entries (only hashes are stored).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/mailsuppression.md

On this page

exp:mailsuppression

The suppression list of the e-mail gate: list, check, add and lift entries (only hashes are stored).

Script bin/php/mailsuppression.php, code in kernel/private/classes/commands/mailsuppression.php. Run it from the installation root, as the user the web server runs as:

./console exp:mailsuppression --help
./console exp:mail:suppression --help
php bin/php/mailsuppression.php --help

Help text

E-mail suppression list
No optional mail goes to a suppressed address. The table holds a salted sha256 hash of each
address, never the address: an entry is found by entering the address.
  list                      the entries: hash (start), reason, date, note
  check                     is --email suppressed, and why
  add                       suppress --email with --reason (bounce, complaint, unsubscribe_all, legal, admin, bridge)
  lift                      lift the entry of --email or --hash

./console exp:mail:suppression list --reason=bounce
./console exp:mail:suppression add [email protected] --reason=legal --note="Request of 2026-10-04"
./console exp:mail:suppression lift --hash=3f2a...

Options

OptionValueHelp
--emailrequiredthe address (check, add, lift)
--hashrequiredlift: the hash of an entry (list shows its start; the whole hash is in --json)
--reasonrequiredadd: the reason; list: only this reason
--noterequiredadd: a note for the admins (the address is removed from it)
--limitrequiredlist: how many (default 50)
--offsetrequiredlist: skip this many
--jsonlist: JSON

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).


Generated by ./console exp:help:examples from bin/php/mailsuppression.php, kernel/private/classes/commands/mailsuppression.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

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