# controller\_admin\_mailing\_run

Source: https://zotonic.com/docs/2706/controller_admin_mailing_run

URI: https://zotonic.com/id/2706

Language: en



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 <a href="/id/doc_model_model_mailinglist_run" class="doc-reference doc-reference-model"><code>model#mailinglist_run</code></a> 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 <a href="/id/doc_controller_controller_admin_mailing_run_content" class="doc-reference doc-reference-controller"><code>controller#controller_admin_mailing_run_content</code></a>.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2706?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2706?language=en>)
