Skip to content

MimeMessageParser doesn't handle multiple attachments with the same name correctly #249

Closed

Description

@GnTeezer

ParsedMimeMessageComponents uses a TreeSet with a NaturalEntryKeyComparator to store the attachment list.

This means that if we parse an email has multiple attachments with the same name we only get one as each attachment with the same name replaces the previous one.

final Set<Map.Entry<String, DataSource>> attachmentList = new TreeSet<>(NaturalEntryKeyComparator.INSTANCE);

Activity

  1. added a commit that references this issue on Feb 26, 2020
  2. added this to the 6.0.4 milestone on Mar 20, 2020
  3. bbottema commented on May 3, 2020

    @bbottema
    Owner

    Fix released in 6.0.4.

  4. added a commit that references this issue on Apr 10, 2021
  5. added a commit that references this issue on Nov 14, 2021
  6. added a commit that references this issue on Dec 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions