nextcloud / nextcloud/mail

buildRecipients function does not take into account email aliases and catchall emails

Open
#8,181 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Steps to reproduce
  1. Have a mail account with catchall functionality
  2. Add account as a@example.com
  3. Receive catchall email to b@example.com in the a@example.com account
  4. Reply to this email
Expected behavior

The to field of the reply modal is prefilled with the sender of the mail and cc receivers

Actual behavior

The to field of the reply modal is prefilled with the sender of the mail and cc receivers and b@example.com

Mail app version

2.2.4

Mailserver or service

Strato

Operating system

Linux

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

MySQL

Additional info

No response

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

Start at the buildRecipients function and trace how the reply modal builds its To and CC fields for messages received through catchall addresses. Reproduce the alias scenario described in the issue and verify that the reply fields contain the sender and intended CC recipients without the catchall address.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
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.