Skip to main content

Mail fetcher gives 'Excessive errors processing emails' for Office 365 POP. All emails fail, even a plain 'Hello World' test email.

osTicket: 1.17.3 / 1.17.6 / 1.18.2 PHP: 8.2 Checked:

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