MyBB Community Forums

Full Version: PHP 7.1 compatibility - mail()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.

Description:
MyBB is unable to send any email. Returns blank page after registration/activation from ACP.
After removing @ from mail() function, we can see an error:
Fatal error: mail(): Escaped command exceeds the allowed length of 2097152 bytes in /forum/inc/mailhandlers/php.php on line 69
Problem is with additional parameters, even when we don't have any, we will see this error.
Mail without additional parameters is successfully sent.

Issue from PHPMailer repo

Tested with:
PHP 7.1.0RC1
MyBB 1.8.8
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2555

Thanks for contributing to MyBB!

Regards,
The MyBB Group