New account notification email template

Defines the template email Subject and Body content for emails sent to new users after their user account is created in User Manager.

Where User Manager or OIDC are used for user authentication, email notifications are automatically sent to users on account creation or password reset.

The email body and subject content in these emails can be customized, for example, to include links and relevant contact information for your organization, by adding the following settings:
  • UserManager.Email.AccountCreated defines the template email Subject and Body content for emails sent to new users after their user account is created in User Manager.
  • UserManager.Email.PasswordReset defines the template email Subject and Body content for emails sent to users when their password has been changed in User Manager.
If these settings exist in the Settings application, User Manager notification emails will use the content specified, instead of the default email notification content.

Email template content is defined as a JSON object (enclosed in braces {} ) that specifies the text. HTML formatting can be used to add line breaks or other text formatting to the output.

The following variables can be used:

Variable Definition
{{username}} The name of the account that has been created or changed.
{{password}} The password that has been generated.
{{UserManagerUrl}} The URL that is used to access MI User Manager.
{{OneMIUrl}} The URL that is used to access Granta MI.

Syntax

Both subject and body content must be defined.

{
    "Subject": "email_subject_content",
    "Body": "email_body_content"
}

Example

{
	"Subject": "Your new MyMaterialsCo Granta MI login details",
	"Body": "A new MyMaterialsCo Granta MI account has been created for you.<br/>
       <br/>Your login details are: 
       <br/><br/>Username: {{username}}<br/>
       Password: {{password}}<br/><br/>
       Please log in and change your password as soon as possible on your Granta MI user page: {{UserManagerUrl}}
       <br/><br/>Your new password should be at least 6 characters in length, 
       and must include at least one uppercase character, one lowercase character, 
       one digit and one non-alphanumeric character."
}