Notifications

Notifications are in the Services Configuration › Notifications menu.

The platform’s services do not send their mails themselves: they hand them to the notification service (notification), which sends them through Azure Communication Services and keeps their history. The Sent mails page shows that history: “The mails the platform sent, newest first. They are kept 60 days.”.

It therefore holds the mails of every service that goes through the notification service, for example the crawler’s digest and subscription’s own mails described below.

Like the whole console, the page is for platform administrators only. The notification service itself checks who reads the history and who resends a mail: only platform administrators may resend one.

The list of mails

The list comes in pages of 25, 50 or 100 mails.

The filters are:

  • the search (Subject or recipient…);
  • the status: All, Sent, Pending, Failed, Rejected.

The columns are:

  • Date: when the notification service received the mail;
  • Status: the sending status and, once a delivery report has arrived, a second badge (see Delivery);
  • Subject; a mail that sends another one again shows the Resent link, which opens the original;
  • Recipients: the first three, then “+n”; the tooltip gives them all;
  • the number of attachments (paperclip icon);
  • Attempts.
Status Meaning
Sent Handed over to the mail service.
Pending Being sent, or waiting for another attempt.
Failed Given up after the retries.
Rejected Refused unsent: a recipient is not allowed.
Note

The notification service sends only to addresses in the domains it allows. A single recipient outside those domains has the whole mail refused: it then shows as Rejected.

When the notification service does not answer, the list reads “The notification service did not answer. Is it running?”.

The detail of a mail

A click on a row opens the mail:

  • Status, with its meaning;
  • Received and Sent;
  • Attempts;
  • Recipients, all of them;
  • Resent from, for a mail that sends another one again: a link opens the original;
  • Last error:, when sending met one;
  • Delivery (see below);
  • Attachments: each one can be downloaded;
  • Content: the body of the mail, shown as it was sent.

A mail older than 60 days can no longer be read: “The mail could not be read. It may be older than 60 days, or the notification service did not answer.”.

Delivery

Sent means the mail service (Azure Communication Services) accepted the mail. Delivered means the recipient’s mail server took it, as reported a few minutes later, recipient by recipient.

The Delivery table gives, for each recipient, the Status, the date it was Attempted and the server’s Message.

Delivery status Meaning
Delivered The recipient’s mail server took the mail.
Expanded Handed to a distribution list, which delivers to its members.
Unknown The recipient’s mail server gave no clear answer.
Suppressed Not sent: the address is on the mail service’s suppression list (an earlier bounce or unsubscribe).
Filtered as spam Filtered as spam on the way.
Quarantined Held in quarantine by the recipient’s mail system.
Bounced Refused by the recipient’s mail server (unknown address, full mailbox…).
Not delivered The mail service could not deliver it.

In the list, the delivery badge sums up all recipients, or the worst one.

Without a report, the detail says why: for a Sent mail, the report can take a few minutes, and mails sent before delivery reports were introduced have none; for any other mail, the mail service never accepted it.

Resend a mail

The Resend button, at the bottom of the detail, sends the mail again to the same recipients. It first asks: “Send “subject” again to the same n recipient(s)? A new mail is created; this one stays in the history.”.

The new mail then opens and the outcome shows: “Mail resent:” followed by its status.

A resend is refused:

  • for a Pending mail: “This mail is still being sent: it can be resent once it is sent, failed or rejected.”;
  • for a user who is not a platform administrator: “You are not allowed to resend mails.”;
  • for a mail that no longer exists: “This mail no longer exists: it may be older than 60 days.”.

The mails subscription sends

subscription itself sends four kinds of mail, through the notification service. They leave once the change is saved: a change rolled back sends nothing, and a failed send is logged by the service without undoing the change.

Mail When Recipients Subject (in English)
Rights change A user’s role in a tenant, or their services and features, changed The user “Your rights have changed – workspace”
Tenant status The tenant is suspended, scheduled for deletion, opened again, or its deletion is cancelled The tenant’s members with an e-mail address; when it opens again, not those whose own access stays suspended “Access suspended”, “Workspace being deleted”, “Access restored”, “Deletion cancelled”
Contract end The tenant’s validity date is near or past MLA, and the tenant’s administrators “Contract ending in n days”, “Contract ending today”, “Contract ended”
Support access A support access request is made, authorized or declined The user concerned for a request; the requester for an authorization or a decline “Support access request”, “Support access authorized”, “Support access request declined”

The rights-change, status and contract-end mails are in the language the user chose, or in French then English when they chose none; MLA gets its own in the language configured for it. The support access mails are in French or English, depending on the recipient’s language. A temporary tenant sends no rights-change mail.

Contract-end reminders

Every day (at 08:00 Paris time by default), subscription looks for the active tenants whose validity date is near or has just passed, and sends:

  • to MLA, a single mail to all its addresses, 60, 30 and 7 days before the end (by default);
  • to each administrator of the tenant who still has access and an e-mail address, 30 and 7 days before the end (by default);
  • to both, a mail once the date has passed, within the following 7 days (by default).

A reminder already sent is never sent again; a reminder whose sending fails is tried again at the next run. A tenant without a validity date is never concerned.

Note

These reminders are not set in the console. The time, the thresholds, MLA’s addresses and the language of MLA’s mails are configuration properties of the service (application.contract-reminders.*). The contracts nearing their end, and the reminders sent for each one, are shown from the tenants (see Tenants).

Warning

Without subscription’s dedicated Kafka credentials (application.notification.kafka-username and kafka-password), none of these mails goes out; the service says so once at startup. See Events and calls.