2012-07-24, 10:12 AM
Hi,
I have seen a number of feedbacks about PHP mail() problem on godaddy hosting.
The problem in utf8_encode function from class_mailerhandler.php
The subject of the mail encoded in chunks, which causes the problem.
I'm not guru of internet standards, I checked how Opencart does it and changed mybb accordingly:
function set_subject($ssubject)
{
$this->orig_subject = $this->cleanup($ssubject);
//all in single chunk
$this->subject = '=?UTF-8?B?'.base64_encode($ssubject).'?=';
}
Please check if subject of mail requires chunking.
I have seen a number of feedbacks about PHP mail() problem on godaddy hosting.
The problem in utf8_encode function from class_mailerhandler.php
The subject of the mail encoded in chunks, which causes the problem.
I'm not guru of internet standards, I checked how Opencart does it and changed mybb accordingly:
function set_subject($ssubject)
{
$this->orig_subject = $this->cleanup($ssubject);
//all in single chunk
$this->subject = '=?UTF-8?B?'.base64_encode($ssubject).'?=';
}
Please check if subject of mail requires chunking.