Documentation
Email templates
In Minitek FAQ Book, email templates can contain plain text or HTML markup and are used as templates for the emails that are sent to the users.
Email templates can contain any of the following placeholders. Placeholders are special text strings that are dynamically replaced by the appropriate content when sending an email notification.
Placeholders | Description |
---|---|
[NOTIFICATION_DATE] |
The date of the notification event. |
[RECIPIENT_NAME] |
The name of the email recipient. |
[QUESTION_ID] |
The ID of the question. |
[QUESTION_TITLE] |
The title of the question. |
[QUESTION_CONTENT] |
The content of the question. |
[QUESTION_URL] |
The front-end URL of the question. |
[QUESTION_HASH] |
The secret hash of the question. |
[TOPIC_TITLE] |
Title of topic. |
[TOPIC_URL] |
Front-end URL of topic. |
[ANSWER_CONTENT] |
The content of the answer. |
[AUTHOR_NAME] |
The name of the author. |
[SITENAME] |
The website name. |
Email templates are automatically selected according to the notification type and user front-end language. For example, if an en-GB user posts a new question then the email template for that specific language (en-GB) will be assigned automatically to the notification.
If an email template for a particular language does not exist, then the email template with language set to All will be used by default.
Info
You can only use inline styling inside the email body. CSS classes are not allowed.
In multi-language sites, the most recent and published default email template for a specific language will be used as an email template for that language.