Skip to content

Message's hasAttachments() returns true but there are no attachments while looping #142

@Sadnesh

Description

@Sadnesh

I was testing to download attachments sent to mail address and while accessing the attachment info using hasAttachments() method, it returns true but while loggin attachmentCount(), it returns 0 and looping over attachments doesn't work as it cannot find attachments. For testing, I have sent the mails to myself, which contains multiple types of attachments but the results are the same. How can I able to resolve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions