Attachment not visible
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
Received dmarc-report from google does not show attachment.
Same issue as
https://github.com/nextcloud/mail/issues/9957
(that one was closed unfortunately ..)
Showing below the redacted body of the email... let me know if that is sufficient.
[..some other headers, like Received, ARC and DKIM headers..]
MIME-Version: 1.0
X-Received: by 2002:a05:620a:2792:b0:7c0:79c3:fd2a with SMTP id
af79cd13be357-7c0cef66bd5mr2337314985a.43.1740481224479; Tue, 25 Feb 2025
03:00:24 -0800 (PST)
Date: Mon, 24 Feb 2025 15:59:59 -0800
Message-ID: <13446300399950255636@google.com>
Subject: Report domain: REDACTED Submitter: google.com Report-ID: 13446300399950255636
From: noreply-dmarc-support@google.com
To: REDACTED
Content-Type: application/zip;
name="google.com!REDACTED!1740355200!1740441599.zip"
Content-Disposition: attachment;
filename="google.com!REDACTED!1740355200!1740441599.zip"
Content-Transfer-Encoding: base64
REDACTED, base64 endcoded zip file with xml insideXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Expected behavior
While the list overview shows a paper clip to indicate an attachment, if you open the email it does not show anything, just the title.
My suspicion is that this might be due to the fact that the email does not contain any text body, just the attachment.
Actual behavior
Show attachment
Mail app version
4.2.2
Nextcloud version
30.0.6
Mailserver or service
postfix / dovecod
Operating system
Gentoo Linux
PHP engine version
PHP 8.3
Nextcloud memory caching
No response
Web server
Nginx
Database
PostgreSQL
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the supplied Google DMARC message in Mail 4.2.2 and trace the attachment display path for messages with no text body. Done means the ZIP attachment is listed when the email is opened, with a regression test covering this MIME shape.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100