在libraries/Email.php找到function subject($subject),改成如下
class CI_Email
{
function subject($subject)
{
//修正中文亂碼
$subject = '=?'. $this->charset .'?B?'. base64_encode($subject) .'?=';
$this->_set_header('Subject', $subject);
return $this;
}
...
}
沒有留言:
張貼留言