Skip to Main Content
Categories Feature request
Created by Paw S. Pedersen
Created on Aug 26, 2024

Limit max amount of error mails sent per day

If a lot of documents fails the same day, even on non prod environments, and even if the recipient is support@example.com.

In general no-one wishes to receive several 1000 emails on one day with the same content.

For now to avoid it on test setup devops will blank or null the default stakeholder email to avoid sending dummy mails.

We need to ensure this does not give en exception but a nice information about no email sent when stakholder mail is null or blank.

Second we wish to limit the amout of mails pr day.

Maybe the SendStakeholder mail container can stop sending mail when more than x mails are sent pr day. (The last emal should state no more error mails are sent) Maybe its just max pr hour pr container). Maybe the mail should be logged in the mail log but with status "NotSent - Limit reached".

A more golden solution would be to look into accumulating similar errors the same way as we are looking into doing for the jira event plugin. But I think this will be difficult to do a nice way.

  • Attach files