Mail Templates

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 - 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 a property based replacement using the following formats:

  • {{placeholder_key}}

  • ${placeholder_key} - SINCE 6.x

Placeholder - Key

Based on

Example

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

 

/icons/logo-full.svg

heroUrl

config application.theme.heroUrl

/icons/logo-hero.svg

rasterLogoUrl

config application.theme.rasterLogoUrl

/icons/logo-raster.png

highlightColor

config application.theme.highlightColor

#357aeb

backgroundColor

config application.theme.backgroundColor

#f8f8f8

textColor

config application.theme.textColor

#282b34

alternateBackgroundColor

config application.theme.alternateBackgroundColor

#ffffff

labelColor

config application.theme.labelColor

#989ba2

dividerColor

config application.theme.dividerColor

#eaeaea

 

Copyright Treskon GmbH.