This e-mail template is used whenever a new password was generated for a contact person. A simple template could look like this:
password_generated_email_subject: Your login data
password_generated_email_body: {{contact.salutation}}, Your login data for accessing our website are as follows: Login: {{contact.login}} Password: {{password}} {% if contact.roles.first == 'Kunde' %} Using your login data, you can access all protected content on our website and use our customer area. {% else %} Using your login data, you can access all protected content on our website. The customer area, however, cannot be accessed with this data. {% endif %} Kind regards, The Company Ltd. -- The Company Ltd. | Customer Support Sample St. 99, 99999 Sampletown Phone: 099 99 99 98, Fax: 099 99 99 99 http://www.example.org
In this template, using contact
, you can access the fields of the contact person to whom the e-mail is addressed. Furthermore, the generated password can be retrieved using the password
keyword.