Add support for showing that attachments were added to the mail

Created on 6 March 2023, almost 2 years ago
Updated 15 March 2024, 9 months ago

Problem/Motivation

Currently any attachments that are added to the mail are not visible in the mail log entry. It would be nice if some indication was given that there were attachments. Great if we can add the actual attachment, but as a start it might just be enough to show a file name or number of attachments.

Steps to reproduce

Add an attachment to a mail, check the mail log

Proposed resolution

Make it possible to see if any attachments where added to the mail.

Remaining tasks

Decide if this is needed, and if so, decide what to store, the full attachment? Just a description? Just a number of attachments?

User interface changes

API changes

Data model changes

Feature request
Status

Needs review

Version

1.2

Component

Code

Created by

🇳🇱Netherlands Lendude Amsterdam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India vipin.j

    This patch will create an unordered list of mail attachments on a mail log view, if that email has attachments.
    hope this will be helpful.

  • Status changed to Needs work 11 months ago
  • 🇧🇪Belgium svendecabooter Gent

    Shouldn't we give the attachments field an unlimited cardinality? Then each attachment filename is stored separately, making the implode / explode operations unnecessary. Probably the custom formatter as well then, since we can just render the field values as is.

  • Status changed to Needs review 10 months ago
  • 🇮🇳India vipin.j

    The attachment field cardinality is set to unlimited now.

  • 🇮🇳India vipin.j

    Re-rolling the patch #4 as it started failing after the recent release 1.2.0.

Production build 0.71.5 2024