[SuppressionSettings]
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The group [SuppressionSettings] 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 |
|---|---|---|
| RetentionDays | 0 | Days a suppressed address stays suppressed; 0 is forever (the default: only the hash is stored, the address cannot be read from it). |
| Reasons[] | bounce; complaint; unsubscribe_all; legal; admin; bridge | Reasons an address can be suppressed with. |
| Listeners[] | (empty array) | Classes told when an address is suppressed or lifted, so another system's own block list stays the same as this one (cjw_newsletter adds its blacklist here): static suppressionAdded( $email, $hash, $reason ) and suppressionLifted( $hash, $email or null, $reason ). |
See also
Generated example: mailpreferences.ini [SuppressionSettings]
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