2011-03-03, 02:23 PM
Hi everyone,
I'm one of those who suffer from 'MyBB was unable to send the email using the PHP mail() function.', which myBB will not send email out to anyone. The problem is really severe when you use email verification method for new user registration ...
My resolution is that i have to make change in file \inc\mailhandlers\php.php by looking for
and
replace both with
the idea is to remove 4th and 5th parameters from mail() function.
That's all for my case!
Case Closed!!!
I'm one of those who suffer from 'MyBB was unable to send the email using the PHP mail() function.', which myBB will not send email out to anyone. The problem is really severe when you use email verification method for new user registration ...
My resolution is that i have to make change in file \inc\mailhandlers\php.php by looking for
Quote: $sent = @mail($this->to, $this->subject, $this->message, trim($this->headers));
and
Quote:$sent = @mail($this->to, $this->subject, $this->message, trim($this->headers), $this->additional_parameters);
replace both with
Quote:$sent = @mail($this->to, $this->subject, $this->message);
the idea is to remove 4th and 5th parameters from mail() function.
That's all for my case!
Case Closed!!!