2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-17 17:58:22 +00:00

Email history enhancement (#10114)

* add warning that the log is useless by default

* Add setting to enhance email log again

* add missing test for #10109

* add test for delete protections

* add error code

* Update email.md

* Update email.md
This commit is contained in:
Matthias Mair
2025-08-08 00:04:17 +02:00
committed by GitHub
parent 00017400ff
commit ed45a4e5bf
9 changed files with 144 additions and 6 deletions

View File

@@ -38,4 +38,8 @@ Most popular providers are supported:
Superusers can view the email log in the [Admin Center](./admin.md#admin-center). This is useful for debugging and tracking email delivery / receipt.
!!! warning "Warning"
By default, email logs are cleaned after 30 days. This can be configured in the [InvenTree settings](../settings/global.md#server-settings).
If your organization is bound by business record retention laws or rules, you should ensure the retention of mail logs is set accordingly via a global override for the setting to ensure proper compliance. E.g. records in connection with commercial activity in the EU often have to be kept for over 5 years. Check requirements with proper sources for your region.
{{ image("admin/email_settings.png", "Email Control Pane") }}