Skip to content

Get Attachment File Size #276

@91Abdullah

Description

@91Abdullah

Hi,

Kindly let me know how can we obtain size of attachment(s). Quick dd() shows structure and file size but there is no getter for the same. For reference:

Attachment {#450 ▼ #oMessage: Message {#161 ▶} #config: array:9 [▶] #structure: {#445 ▼ +"type": 5 +"encoding": 3 +"ifsubtype": 1 +"subtype": "PNG" +"ifdescription": 0 +"ifid": 0 +"bytes": 94068 +"ifdisposition": 1 +"disposition": "ATTACHMENT" +"ifdparameters": 1 +"dparameters": array:1 [▶] +"ifparameters": 1 +"parameters": array:1 [▶] } #attributes: array:8 [▶] #mask: "Webklex\IMAP\Support\Masks\AttachmentMask"

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions