PHP Mail error?

I have made a forum using MyBB, but unfortunately, when users are trying to register, they are unable to receive the activation e-mail. In other words, the activation e-mail is not being sent, when I have set MyBB to use PHP Mail function to send e-mails. The sending address is set to “[email protected]”.
I just can’t figure it out. Please figure out the solution.

Please see the relevant FAQ article: https://infinityfree.net/support/email/php-mail

@Admin said:
Please see the relevant FAQ article: https://infinityfree.net/support/email/php-mail

But in my case, the activation e-mails are not getting sent, and a blank white screen appears on the browser. However, when I run the same forum on my own computer using XAMPP, the e-mails get delivered properly and there doesn’t come any blank screen.

@Brinjal said:

@Admin said:
Please see the relevant FAQ article: https://infinityfree.net/support/email/php-mail

But in my case, the activation e-mails are not getting sent, and a blank white screen appears on the browser. However, when I run the same forum on my own computer using XAMPP, the e-mails get delivered properly and there doesn’t come any blank screen.

A blank screen probably means your script is crashing. Can you enable error reporting in your script? This guide has instructions for that (even though the symptoms are different): https://infinityfree.net/support/websites/http-error-500