Skip to content

Misspelled address in 'Bcc' field generates hourly duplicate emails for the valid recipient #870

@radarsymphony

Description

@radarsymphony

Summary

When a user misspells an address in a 'Bcc' field, the valid recipients in the 'To' field receive hourly duplicates of the email.

Steps to reproduce

  1. Create a New Conversation from within a mailbox.
  2. Optional: Add text for body and subject-line.
  3. In the ‘To Field’, add a valid address (the Recipient).
  4. In the ‘Bcc Field’, add a misspelled address.
    Clipboard_2020-11-15-15-43-32
  5. Send.
  6. The (initial) email arrives in the Recipient’s inbox.
  7. In this example, a duplicate email is received 5 minutes later, and then another duplicate every hour after that.
    Clipboard_2020-11-15-15-49-48

What is the current bug behaviour?

If a user misspells a Bcc'd address, the main recipient will keep receiving duplicate emails (until the job queue is cleared).
As expected, the following error appears within ‘Outgoing Email’ and ‘Send Errors’ in the logs:
Send error. Expected response code 354 but got code "554", with message "554 5.5.1 Error: no valid recipients ".

What is the expected or correct behaviour?

If an address is misspelled, other recipients should only receive one email, even if the undelivered email is added to a job queue and attempted a few more times.
In an additional test, the valid and misspelled addresses were swapped. No email came through to the Bcc'd recipient (this is good and expected), the job just sat in the queue until cleared.

Possible fixes

Is there a way to keep track of successful deliveries for each recipient separately?

Interim Solution:

  1. In mailboxes, Click on ‘Manage’ → ‘System’
  2. Scroll to the ‘Background Jobs’ section.
  3. Click ‘Cancel’ for the job that is repeatedly sending an email.
    Clipboard_2020-11-15-15-35-41

Note: From the subheading under “Background Jobs”, it looks like this issue would have resolved itself after some time limit:
“Queued and failed jobs are cleaned automatically once in a while. No need to worry or delete them manually.”
Question: How often are queued and failed jobs auto-cleaned from the system?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions