Skip to content

[Feature]: Use subfolders in email storage to prevent a flat list of 10k+ files #15952

@NiklasBr

Description

@NiklasBr

Feature description

pimcore.email_log.storage:
# Storage for email logs
adapter: 'local'
visibility: private
options:
directory: '%kernel.project_dir%/var/email'

Can result in this:
image

And 12k emails is not even a lot I suspect.

Suggestion is to use something like Ecommerce framework to group into sub-folders for at least years and months:

https://github.com/pimcore/ecommerce-framework-bundle/blob/e9d3ac227e16a4a8a63ca1d2f40e916ce5623410/src/DependencyInjection/Configuration.php#L383-L386

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions