Skip to content

$message->getSize() throws an exception #411

Closed
@TonyMarston

Description

@TonyMarston

Describe the bug
A call to $message->getSize() fails with:

Uncaught exception: Cannot use object of type stdClass as array, code=0, file=F:\Apache2\HTDOCS\GMX-Transix\includes\vendor\webklex\php-imap\src\Connection\Protocols\LegacyProtocol.php, line=339

Used config

Code to Reproduce
The troubling code section which produces the reported bug.

$size = $message->getSize();

Expected behavior
I expect it to return the size of the message body.

Screenshots

Desktop / Server (please complete the following information):

  • OS: Windows 10
  • PHP: 8.2.5
  • Version 5.2
  • Provider Office365

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions