Skip to content

Some mail give memory error and lots of warnings but are OK after reloading and saving with Outlook 2019 #25

@freebrowser1

Description

@freebrowser1

Using this tool as described in the example mostly works (using cli PHP 7 or 8) but in some cases it issues errors of empty keys and memory overflows.

However, when I load this msg into Outlook 2019 and save it again, it runs successfully through this code. It appears to be Outlook version dependant.

PHP Warning:  Undefined array key "" in /Users/user/Downloads/msg/vendor/pear/ole/OLE/ChainedBlockStream.php on line 126

Warning: Undefined array key "" in /Users/user/Downloads/msg/vendor/pear/ole/OLE/ChainedBlockStream.php on line 126
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 130023456 bytes) in /Users/user/Downloads/msg/vendor/pear/ole/OLE/ChainedBlockStream.php on line 125

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130023456 bytes) in /Users/user/Downloads/msg/vendor/pear/ole/OLE/ChainedBlockStream.php on line 125


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions