Skip to main content

Tenants

E-mail templates

Change the text of the e-mails for account activation and password reset, separately for every tenant.

M.App Enterprise sends two e-mails to users: one to activate a new account and one to reset a forgotten password. The texts are files in the warehouse folder of the tenant. You can replace them with your own wording, your language and your logo.

The default texts are in English, are signed with Your M.App Enterprise Team and link to an address of the manufacturer. Most organizations want to change that.

The two e-mails

E-mailSent whenFiles
ActivationAn administrator creates a user in Studio, or clicks Resend activation for a user.activation.html
activationSubject.txt
Password resetA user clicks Forgot password? on the login page.forgotPassword.html
forgotPasswordSubject.txt

Users who sign in through Active Directory do not get a password reset e-mail. E-mails that a workflow sends are not based on these files; their text is defined in the workflow. See WorkflowTrigger.

Where the files are

The four files are in the warehouse folder, in the folder of the tenant:

<warehouse>
└── <tenant>
    └── AppData
        └── templates
            └── email
                ├── activation.html
                ├── activationSubject.txt
                ├── forgotPassword.html
                └── forgotPasswordSubject.txt

The files are written with the default texts when the tenant is created. If the folder or a file is missing, the server sends a short built-in text instead. In that case create the folder and the file yourself.

Change a template

  1. Make a copy of the file you want to change.
  2. Edit the file with a text editor. The .html file is the body of the e-mail and is sent as HTML. The Subject.txt file is the subject line: keep it on one line.
  3. Save the file. The next e-mail uses it. You do not have to restart anything.

To test it, create a test user with your own e-mail address in Studio, or click Resend activation for an existing test user.

Placeholders

Two placeholders are replaced, in the body and in the subject:

PlaceholderReplaced with
{name}The full name of the user followed by the user name in brackets. If no full name is set, the user name.
{url}The link the user has to open. Put it into a link, for example <a href="{url}">Activate your account</a>.

Write the placeholders exactly like this, in lower case and with curly brackets. There are no other placeholders: the name of the tenant or the e-mail address of the user cannot be inserted.

A template without {url} produces an e-mail the user cannot act on.

Language

There is one set of files per tenant, not one per language. Every user of the tenant gets the same text, whatever language is set for them. If your users speak different languages, put the languages one below the other in the same file.

Good to know

  • The link in a password reset e-mail locks the account until a new password is set. As soon as the user opens the link, the account is set to not activated. If the user then closes the page without choosing a new password, they cannot log in. They have to open the link again and finish, or you send a new activation from Studio. Say so in your text.
  • Links do not expire. A link works until the user has set a password with it.
  • The sender is the address from the mail settings of the server. It is the same for all tenants. See Server settings in Management for the mail server.
  • Upgrades keep your files. An upgrade of the server does not write these files. They are part of a tenant export, and they belong into your backup. See Import/Export a Tenant and Backup and restore.
Updated on Dec 1, 2026