nextcloud / nextcloud/mail

Attachments not shown

Open
#4,423 23 comments 9 reactions 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

Expected behavior

When you recieve an email that has an attachment it should be shown/available for you to download, regardless of sender.

Actual behavior

The attachments behaviour is not consistent, here's a thorough explanation of the situation:

-Most emails with attachments display correctly, however I've noticed that dmarc emails sent by google to our noreply email do not shown the attached zip file containing the report, yahoo's dmarc emails are showing attachments, but not gmail's.

Here's a screen shot showing the inbox in mail app:
https://i.imgur.com/igz3YgW.png
You can notice that only the 2nd email (which is yahoo's) shows an attachment, all gmail dmarc reports are showing without attachments.

Here's the same email inbox, but using roundcube instead of NC mail app:
https://i.imgur.com/7rtQSVW.png
As you can see every single email has an attachment if I use roundcube to explore the emails, but not NC's email app.

The behaviour is very confusing to me, I do not understand why would one email display an attachment but not the other.

Mail app

Mail app version: 1.8.0

Mailserver or service: EXIM/Dovecot

Server configuration

Operating system: Ubuntu 18.04

Web server: Apache

Database: MySQL 10.3.22

PHP version: 7.4.7

Nextcloud Version: 20.0.5

Client configuration

Browser: Firefox 84.0.2

Operating system: Windows 10

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. Start by reproducing the issue with Gmail and Yahoo DMARC messages, compare the Mail app with Roundcube, and trace how attachments are detected and presented. Done means the Gmail DMARC ZIP attachment is consistently shown and downloadable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.