nextcloud / nextcloud/mail

unable to access files (appends) from emails with no body

Open
#11,673 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. Open a Mail with no content, but with a file in as append.
  2. Try to download the file from appendix
  3. There is no way to download the file
  4. Open a Mail with Body Content and with a file in appendix
  5. Try to download the file.
  6. You can download the file
Image
Expected behavior

I can download the file in appendix

Actual behavior

I cant access files in mails that have no body, like this dmarc reports from google.
I can download the Mail in NC as .eml and open in outlook.
In outlook an can see and open the file.

Mail app version

5.4.0

Nextcloud version

31.0.7

Mailserver or service

No response

Operating system

ubunt 24.04

PHP engine version

PHP 8.3

Nextcloud memory caching

No response

Web server

Apache (supported)

Database

MySQL

Additional info
Image Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the issue in the Mail app with a bodyless message containing an attachment, then compare it with a message that has body content. Done means the attachment can be accessed and downloaded in both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
backend, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.