# controller\_admin\_mailing\_preview

Source: https://zotonic.com/docs/1464/controller_admin_mailing_preview

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

Language: en



This controller shows a preview of what a resource that is being mailed would look like, in a popup window.

The required `id` argument identifies the page being mailed. The current user must be allowed to use `mod_mailinglist` and view that page. The controller renders the category-aware `mailing_page.tpl` with:

- `id`: the page being previewed;
- `list_id`: the named `mailinglist_test` resource;
- `email_from`: the sender address configured for that test list.

Use `{% url admin_mailing_preview id=id %}` to construct the preview URL.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1464?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/1464?language=en>)
