Welcome Guest, Not a member yet? Register   Sign In
false email title unicode ??????
#1

[eluser]ahmedbloger[/eluser]
hi every one ,
i have make this code and it is work very good but the message title appear with unknown characters like Japanese or India although the body is very will and appear correctly .
note:message content is Arabic
Code:
function sendmessage($id)
    {
        $title=$_POST['title'];
        $message=$_POST['message'];
        $from=$this->config->item('FAL_template_dir');
        $sender_name=$this->config->item('FAL_website_name');
        $this->load->library('email');
        $this->email->from($from, $sender_name);
        $this->db->where('id',$id);
        $query=$this->db->get('suffer');
        foreach($query->result() as $row)
        {
            $to=$row->email;
        }
        $this->email->to($to);
        $this->email->subject($title);
        $this->email->message($message);
        $this->email->send();
        redirect('admin/suggest/','5');
    
    }




Theme © iAndrew 2016 - Forum software by © MyBB