Skip to content

additional attachment with undefined name #37

@fadedshadowx

Description

@fadedshadowx

When I am trying decode attachment with:

$message->getAttachments();

I always have additional object in item array:

0 => Webklex\PHPIMAP\Attachment {#682 ▼
      #oMessage: Webklex\PHPIMAP\Message {#664 ▶}
      #config: array:9 [▶]
      #part: Webklex\PHPIMAP\Part {#674 ▶}
      #attributes: array:9 [▼
        "content" => ""
        "type" => "text"
        "part_number" => 0
        "content_type" => null
        "id" => null
        "name" => "undefined"
        "disposition" => null
        "img_src" => null
        "size" => 0
      ]
      #mask: "Webklex\PHPIMAP\Support\Masks\AttachmentMask"
    }

why it's showing? It's showing only one time for every message with any count attachments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions