Cookies are used to collect information about you. Nexus uses this information to give you a better experience of the website (functional) and to count the pages you visit (statistics).
Click OK to give Nexus your consent to use cookies. Read more about Nexus' cookie policy.
In all fields, variables from data pools can be used. To use a variable, navigate to the data pool and variable name in the list to the left, and drag-and-drop it to the intended field. The mail body can be represented in plain text or in HTML format.
Log in to Identity Manager Admin as an admin user.
Add or edit email template
To add or edit an email template:
Go to Home > Emails.
To add a new email template, click +New. Enter details:
Enter a Name, for exampleEmailNewPassword,and optionally a Description.
Enter an email address in the To field.
Click Save+Edit.
To edit an existing email template, double-click the email template name.
Enter recipients and subject
To enable S/MIME encryption, the following applies:
The process map requires a variable Certificate_CoreObjectDescriptorList containing a List<CoreObjectDescriptor> of CoreObjectDescriptors, pointing to Certificate CoreObjects. For more information, see Set up search configuration in Identity Manager.
The related certificate entities must be included as ASN.1 DER-encoded X509 certificates in the data column. Certificates created by Smart ID Identity Manager are by default encoded in ASN.1 DER format, automatically stored in the correct format as required here. PEM format is not supported.
Do the following:
In the fields CC, and BCC, enter one or more recipients, for example ${BaseDpEmployee_Email} from the Employee datapool.
For each recipient email provided in the To, CC, or BCC lists of the MailConfiguration, a S/MIME certificate must be provided which contains the email address(es) in the SAN RFC822 Name field. If there is an email address with no fitting S/MIME certificate, the mail task stops with an exception message.
Enter a Subject.
Select S/MIME Encryption if the email is to be encrypted.
Select Sign Email if the email is to be signed by the server.
If you shall use signed emails, you must replace the email signing certificate,emailSignCert. This is done in the fileengineSignEncryptConfig.xml. For more information, see OLD-Sign and encrypt engine in Identity Manager.
Open the fileengineSignEncryptConfig.xmlfor editing.
Replace the email signing certificate file,emailSigning.p12, with the correct certificate file.
For email signing: turn off validation of certificate
By default, the email signing certificate is always validated before sending an email, so that the revocation of the certificate is taken into account as soon as possible. In some cases this is not desired, as it creates some amount of network traffic.
To turn off the certificate validation, do the following:
For WAR file deployment, add this to system.properties:
Turn off certificate validation
CODE
emailSigner.validateSignatureCertificate=false
For docker deployment, edit the configuration filedocker-compose.yml:
The html-formatted message is shown, when the mail server of the recipient supports html.
To enter an email message in HTML format:
Go to the Html tab.
Write an html-formatted email message in the text field. To insert a variable, for example BaseDpEmployee_FirstName, select the corresponding data pool in the left field and drag-and-drop the variable into the text field.
Enter message as plain text
The plain text message is a fallback solution for when the mail server of the recipient does not support html.
To enter an email message in plain text:
Go to the Text tab.
Write an email message in the text field. To insert a variable, for example BaseDpEmployee_FirstName, select the corresponding data pool in the left field and drag-and-drop the variable into the text field.
Add attachments
The contents to attach to an email must be in binary form in a data pool. Typical examples of binary data are photos and signatures.
To add an attachment:
Go to the Attachments tab.
Navigate to the data pool and field in the list on the left, and drag-and-drop it to the table in the Attachments tab.
If you want, edit MIME type, to attach the file in a different format.
If you want, edit the Name of the attachment.
Click Save.
Edit SMTP settings
To edit the SMTP settings:
In the Test area field, click on the Expand symbol on the top. On the SMTP Settings tab, the settings are shown.
To edit the settings, click on the SMTP Settings button.