Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display and send warnings also when 80 and 90% of the e-mail quota is reached (OSOE-693) #86

Closed
Piedone opened this issue Sep 25, 2023 · 2 comments · Fixed by #89
Closed
Assignees
Labels
enhancement New feature or request

Comments

@Piedone
Copy link
Member

Piedone commented Sep 25, 2023

Currently, administrators only get notified about running out of their e-mail quota if they already did. So, let's add a feature to display a warning on the admin and send out an e-mail (both just as for the current warning) also when 80% of the quota is reached, and when 90%, just with slightly different wording. Also, this warning can be displayed on the admin as a yellow-background warning, vs the quota exhaustion one with a red error background.

Jira issue

@Piedone Piedone added the enhancement New feature or request label Sep 25, 2023
@github-actions github-actions bot changed the title Display and send warnings also when 80 and 90% of the e-mail quota is reached Display and send warnings also when 80 and 90% of the e-mail quota is reached (OSOE-693) Sep 25, 2023
@wAsnk wAsnk self-assigned this Sep 27, 2023
@wAsnk
Copy link
Member

wAsnk commented Sep 28, 2023

Are these texts okay?

Admin dashboard warning:

It seems that your site sent out 80% of e-mails from the available quota for this month. E-mail sending will be stopped until next month (any feature sending out e-mails will fail), when the quota is exceeded.

E-mail:
Subject:

[Warning] Your DotNest site has used {0}% of its e-mail quota

Hi,

It seems that your {sitename} site sent out 80% of the available e-mail quota for this month. E-mail sending will be stopped until next month (any feature sending out e-mails will fail), when the quota is exceeded.

Thank you,
Your Admin Crew

@Piedone
Copy link
Member Author

Piedone commented Sep 28, 2023

Yep!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants