Mail fetcher gives 'Excessive errors processing emails' for Office 365 POP. All emails fail, even a plain 'Hello World' test email.
The emails have a UTF-8 BOM at the start of the string being passed to laminas-mail's Headers::fromString(). Fix: add the following patch at the top of that function in include/laminas-mail/src/Headers.php: $string = preg_replace('/^xEFxBBxBF/', '', $string); This fix was also included officially in v1.17.7 and v1.18.3.
Originally sourced from forum.osticket.com . osFAQ.org summarises community knowledge for quick reference.
Helpful
Report an error