To be notified when a new task is assigned to them or their teams, users can set up email
notifications in Workplace. For the email notifications to work, you must first configure the email environment to send
notifications.
Before you begin
If you want to restrict network access, you need to generate network policy files during
installation and install the network policies on your cluster. For more information about installing
network policies, see Configuring cluster security
.
Procedure
To update the configuration file to enable the email notification for Workplace, complete the following
steps.
- Compose an XML file with the following email
properties:
<server merge="mergeChildren">
<email merge="mergeChildren">
<!-- SMTP server that mail should be sent to -->
<smtp-server merge="replace">smtp.example.com</smtp-server>
<mail-template>
<process>externalmailprocesslink_{0}.html</process>
<no-process>externalmailnoprocess_{0}.html</no-process>
</mail-template>
<valid-from-required merge="replace">true</valid-from-required>
<default-from-address merge="replace">username@example.com</default-from-address>
<send-external-email merge="replace">true</send-external-email>
<send-email-notifications-to-list merge="replace">false</send-email-notifications-to-list>
<send-email-notifications-async merge="replace">false</send-email-notifications-async>
<send-in-federation merge="replace">true</send-in-federation>
<send-on-reassignment merge="replace">true</send-on-reassignment>
</email>
</server>
For more information, see
Configuring email for task notification assignment.
- Apply the configuration changes:
- Save your changes.
- Wait for the operator to reconcile the changes.
- Optional: If you want to customize the sender's name in the email
notification header, you can customize the name of the system user who created the task, typically
the admin. To do that, specify a value for the
userToCreateTask property, which
represents the user ID that is set in the task's receivedFrom field and is assigned
the admin role. For more information, see Security configuration properties.
Results
To receive email notifications, users can now enable the email notifications in the
Workplace
application.