# inject\_recipientdetails

Source: https://zotonic.com/docs/1321/inject_recipientdetails

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

Language: en



Adds recipient query string details to hyperlinks.

This filter is meant for use inside e-mail templates. It replaces each occurrence of `##` with the details of the subscriber that the mail is sent to, encoded as query string arguments.

Each occurrence of `##` will be transformed to recipient details in the following form:

```django
?email=foo@bar.com&name_first=John&name_surname=Doe
```

Its use case is when sending a mailing with a link in it which arrives at a webpage where the user has to enter his e-mail address and name details. Using this filter, those parameters can be conveniently be pre-filled.

License: 

Attribution: 

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