Projekt

Allgemein

Profil

GX-Feature #69663

Von Daniel Wu vor mehr als 2 Jahren aktualisiert

Currently email attachments for every email are stored separately, even if they're completely the same. That leads to some massive storage problems especially when it comes to backups. Email attachments are mainly the PDFs attached to the order confirmation (privacy, terms and conditions and withdrawal). In most utmost cases these files very rarely changed. So the storage of those attachments should be refactored to avoid that identical files pile up. 

 Solution: 
 * Email attachments from contents should only The exact approach yet needs to be stored as a new file, whenever the content changed since the last creation of the attachment: 
  * To achieve that attachments will be stored with a hash in its file name which is checked discussed and updated whenever it is read. 
 * If the API or the Admin GUI is used to send an email, the attachment file is saved to the email attachment directory with the file hash in its name. That way it is replaced and not stored multiple times, when the same file is sent. planned.

Zurück