controller_admin_mailing_run
Display mailing history and the delivery status of an individual mailing run.
Routes and templates
| Dispatch | Path | Template |
|---|---|---|
admin_mailings | /admin/mailings | admin_mailings.tpl |
admin_mailing_run | /admin/mailings/run/:run_id | admin_mailing_run.tpl |
The presence of the run_id request argument selects the detail template.
The history page accepts status, language, page_id, list_id, and offset
filters. An email argument instead selects recent recipient results for that
exact address, with offset pagination. The detail page shows delivery progress
and recipient results, with
recipient_status, recipient_email and recipient_page arguments for filtering
and pagination. Changing the filters starts again at the first page.
The templates use model#mailinglist_run and live updates to display run data.
Access and response handling
The controller requires the use mod_mailinglist permission. The model also
checks access to each run's page and mailing list before exposing its data.
An unavailable or inaccessible run displays an explanatory message in the detail
template. Responses carry cache prevention and no-index headers.
Saved mailing HTML is served separately by
controller#controller_admin_mailing_run_content.