Templates

Email template

Variables

You can use the following variables in the email template:

{{ general.baseUrl }}
The base url of your YouTransfer instance.
{{ email.from }}
The email address provided in the "Your email" field. This is not the actual sender e-mail address, which can be conifured in the Email settings tab. The goal of this field is to identify the sender to the receiver.
{{ email.to }}
The recipient's email address provided in the "Your friend's email" field. This is the actual email address that will receive the message.
{{ email.body }}
The additional message provided in the "Message" field.
{{ files }}
A collection with {{ file }} objects.
{{ file.id }}
The identifier or token that can be used to retrieve the file.
{{ file.name }}
The file name.
{{ file.size }}
The file size (with unit formatting).
{{ file.link }}
The direct download link to retrieve the file.
{{ bundle.id }}
The ZIP bundle identifier.
{{ bundle.link }}
The direct download link to retrieve the ZIP bundle.