2023-02-26, 07:23 PM
MyBB was unable to send the email using the PHP mail() function.
I keep on getting this error so I went to google to find some help.
One of them was to make a testscript so I make a file called mailtest.php witht the content from this URL
https://docs.mybb.com/1.8/faq/mail/#testing-php-mail
But the issue is I have no idea how to get the file to work?
I threw it in the Root folder bu I assume thats just not how it works
Update:
PHP could not send the mailDirect initialization of this file is not allowed.
Please make sure IN_MYBB is defined.
Got this error. I installed 1.8 fresh so I dont know where I would try to "define" this
(Pasted From Discord)
I keep on getting this error so I went to google to find some help.
One of them was to make a testscript so I make a file called mailtest.php witht the content from this URL
https://docs.mybb.com/1.8/faq/mail/#testing-php-mail
But the issue is I have no idea how to get the file to work?
I threw it in the Root folder bu I assume thats just not how it works
Update:
PHP could not send the mailDirect initialization of this file is not allowed.
Please make sure IN_MYBB is defined.
Got this error. I installed 1.8 fresh so I dont know where I would try to "define" this
(Pasted From Discord)