[GateSettings]
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The group [GateSettings] of settings/mailpreferences.ini.
File
settings/mailpreferences.ini; override it in settings/override/mailpreferences.ini.append.php, in a siteaccess or in an extension.
Settings
| Setting | Default | Description |
|---|---|---|
| Gate | enabled | enabled: categorised optional mail is checked and blocked when the person has not switched the category on. disabled: every mail is sent as before (optional mail still gets its footer and headers). |
| EssentialSenders[] | kernel/private/classes/views/user/register.php; kernel/private/classes/views/user/forgotpassword.php; kernel/user/ezuseroperationcollection.php; kernel/classes/confirmorderhandlers/ezdefaultconfirmorderhandler.php; kernel/classes/audit/sinks/expauditmailsink.php; kernel/setup/steps/ezstep_registration.php; expMailPreferencesService | Mail without a category is always sent, as before. It is logged as "uncategorised" unless its sender is listed here: an e-mail address of the From header, or a file of the code that hands the mail to eZMailTransport (path relative to the installation), or a class name in that call stack. Senders listed here are logged as essential. |
| LogFile | log/mailgate.jsonl | The gate's own log of decisions (blocked, sent, uncategorised), JSON lines, without addresses, relative to the var directory. Rotated at MaxLogSize bytes. |
| MaxLogSize | 5242880 | |
| SplitRecipients | enabled | Optional mail to several recipients is sent as one message per recipient, so each gets a working unsubscribe link of its own. |
See also
Generated example: mailpreferences.ini [GateSettings]
Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/mailpreferences.ini.
Contributors
- Graham Brookins Updated
Comments
Add a comment