Portrait comes with email templates that are used in the following scenarios:
Automatic Registration - automaticRegistration.html
Forgot Password - forgot.html
Forget Password send from an Admin - requestPasswordResetAdmin.html
Invite - invite.html
RegistrationWithOneTimePassword - registrationWithOneTimePassword.html
Successful registration - success.html
Account verification Access granted- verify.html
These templates are styled based on the portrait colors. You can fully customize the appearance of these emails. The templates are located in: /app/config/email-templates
Inside the templates, you can use a property based replacement using the following placeholder:
...
formats:
{{placeholder_key}}
${placeholder_key} - SINCE 6.x
Placeholder - Key | Based on | Example |
---|---|---|
General Settings |
applicationName |
config application.name | Portrait App |
applicationOwner |
config application.owner | Treskon GmbH |
serverUrl |
config application.url | https://portrait.customer.com |
mapping |
call to action - based on the situation | ||
Theme Settings - Since 6.x | ||
logoUrl | config application.theme.logoUrl |
|
heroUrl | config application.theme.heroUrl |
|
rasterLogoUrl | config application.theme.rasterLogoUrl |
|
highlightColor | config application.theme.highlightColor |
|
backgroundColor | config application.theme.backgroundColor |
|
textColor | config application.theme.textColor |
|
alternateBackgroundColor | config application.theme.alternateBackgroundColor |
|
labelColor | config application.theme.labelColor |
|
dividerColor | config application.theme.dividerColor |
|