exp:mailstatus
Show the e-mail preference system: tables, gate, footer, categories, suppression, consent log, the gate's last decisions and problems.
Script bin/php/mailstatus.php, code in kernel/private/classes/commands/mailstatus.php. Run it from the installation root, as the user the web server runs as:
./console exp:mailstatus --help
./console exp:mail:status --help
php bin/php/mailstatus.php --helpHelp text
E-mail preferences status
The tables, the mail gate, the footer settings, the categories with their counts, the
suppression list, the consent log, what the gate decided in the last 24 hours and 7 days,
and what looks wrong. Nothing is changed. No address is shown.
./console exp:mail:status
./console exp:mail:status --json
Ends with PASS, or FAIL (exit 1) when a problem of level error is found.Options
| Option | Value | Help |
|---|---|---|
--json | One JSON object instead of the text |
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 ...).
Related
Generated by ./console exp:help:examples from bin/php/mailstatus.php, kernel/private/classes/commands/mailstatus.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.