uvdesk / mailbox-component

The Mailbox component provides tools that allows your helpdesk to process tickets from multiple email sources.
MIT License
22 stars 38 forks source link

Version mismatch in php-mime-mail-parser / php-mime-mail-parser #104

Open BrianVB opened 2 years ago

BrianVB commented 2 years ago

Description
In https://github.com/uvdesk/mailbox-component/blob/master/Services/MailboxService.php on line 107 parser is instantiated new Parser(). In release 7.1.1 of php-mime-mail-parser / php-mime-mail-parser the constructor was changed to private which makes that method of instantiation throw an error.

How to reproduce
Try to use the mailbox functionality after updating composer packages and having them use release 7.1.1 of php-mime-mail-parser / php-mime-mail-parser

Possible Solution
Force composer.json to use version 7.1.0 and not 7.1.1 (https://github.com/uvdesk/mailbox-component/blob/master/composer.json).