Customize emails to reset password
Log in to the Abiquo API Server as an administrator
In the config folder, if there is no mail folder, create a mail folder and set the owner as the tomcat user
/opt/abiquo/config/mail
Â
In the mail folder, create the following files
Email file:Â
resetPasswordTemplate_en_US.mustache
<p>Hi,</p> <p>We've received a request to reset the password associated with:</p> <p><strong>{{username}}</strong></p> <p>Please use the following link:</p> <p>{{link}}</p> <p>If you did not request the password reset, please ignore this email.</p> <p>Thank you,</p> <p>The Abiquo Team</p>
Â
Properties file:
resetPassword_en_US.properties
subject=Reset Your Abiquo Password
Â
You cannot set values of the username and link properties. If you set these values, the platform will overwrite them
 If you change the subject property, you must restart the Tomcat server to apply your changes
Â
Optionally add custom variables and content
In the email body, to add a custom variable, use double curly braces (also called double mustaches). For example
Â
Then in your properties file, set value for your custom variable
Â
 To return unescaped HTML as part of a template property, use the triple mustache, which is "{{{" and "}}}".
The Mustache templating software that adds the property values will escape HTML variables in double mustaches by default.
If your users have a language other than English, rename the file to change the language code to the user languageÂ
For example, for "Spanish - Spain" change the en_US to es_ES
The user language is the UI language when you create the user
Change the owner of the files to the tomcat user
Â
Related content
Copyright Âİ 2006-2024, Abiquo Holdings SL. All rights reserved