Zum Hauptinhalt springen

Configurable emails for missed notifications (#644799)

Users can now decide if they want to receive emails for missed notifications. This allows them to stay informed about important events regardless of their online status.

The configuration is done by selecting the desired option in the Missed notifications selector of the General settings section in the user profile of the Web Client. The following options are available:

  • One email per day with the number of missed notifications: The user receives a summary at the end of the day which states the number of unread notifications received this day.
  • One email for each missed notification with its text: Whenever the user receives a notification while he is offline, an email containing the notification text is sent to him.
  • No emails for missed notifications: The user does not receive emails for missed notifications (default, previous behavior).
Deactivated users

Users who are deactivated on the Users page of the Web Admin Suite do not receive emails, regardless of their setting.

The emails are based on templates, which can be adjusted by the administrator on the Templates page of the Web Admin Suite.

  • today-notifications: Template used when the user selects to receive a summary email. By default, the email is sent at 22:00. The schedule can be adjusted by modifying the cron expression defined in the system property user.mailer.timeConfig from the module cmas-notifications-integration

    Adjusting the sending schedule

    The email only considers unread notifications received on the same day before the email is sent, i.e. if you change the schedule to send the email in the morning, the users will not be informed about missed notifications received in the afternoon.

  • missed-notification: Template used when the user selects to receive one email for each missed notification. If the notification was sent from a case, e.g. because the user was mentioned there, a link to the case is included in the template.

The templates are added automatically during setup and update. You can provide an email address in the From field if you do not want the email to be sent from the address defined in the system property mail.from from the module cmweb-server-adapter. As a fallback, the administrator email address is used.

Required system properties

The system property url.webclient from the module cmas-core-server must be set for the links in the email to work.