Email template
In the Email Template tab, you can customize emails about shared links. Use dynamic values such as ${sender}, ${title}, or ${url} to include share details.
Title and Content are used for the email that Send via email opens in the user’s mail client, and for the email sent to selected users. In the mail client, the email is plain text, so formatting is removed, links appear as text followed by the URL, and images are replaced with their alt text.
Template is the HTML layout of emails sent by External Share. It doesn’t apply to emails opened with Send via email.
Email title, content and template are filled with default values.
Title, Content, and Template come with default values.
When the email is prepared, these keywords in Title and Content are replaced with share details:
${sender}: the user sending the link${type}: the type of shared content${title}: the page title, or the attachment name for an attachment share${password}: the link password, if set${url}: the share link URL${registrationUrl}: a registration link, added for selected users who haven’t confirmed their account yet${expiration}: the link expiration date, if set
Content field contains conditional sections
<section condition=”some-condition”>some text</section>
which allows you to modify the email message.
A section contains of a start tag ‘<section condition=”some-condition”>' with required condition attribute, text value and end tag '</section>’.
All sections must be correctly opened, closed and containt condition attribute.
When the email form is displayed in context of selected share all sections for which conditions are not met are removed.
For sections with condition that are met their text value content is added to the message body.
Available conditions:
has-password: the link is protected with a passwordallow-external-users: Selected users are set on the sharehas-registration-url: Selected users are set on the sharehas-expiration: an expiration date is setallow-add-comments-and-attachments: both Add comments and Add attachments are selectedallow-add-attachments: only Add attachments is selectedallow-add-comments: only Add comments is selected
You can use markdown to modify Content value, more information about that could be find here.
Template must be valid HTML, with all CSS added as inline styles using the
styleattribute.To go back to the defaults, click Restore default values.