I make email function in CodeIgniter and when I set "mailtype = html"
I can't send long text but when I set "mailtype = text"
I can send email in a long text. I don't know why?
I want to send email with "emailtype=html"
because I want to use bold, italic, etc in my message
this my setting
$config = array(
'protocol' => 'smtp',
'smtp_host'=> 'my IP address',
'smtp_port' => '25',
'smtp_user' => 'my email address',
'mailtype' => 'text',
'charset' => '465',
'wordwrap' => 'TRUE'
);
$this->load->library('email', $config);
$this->email->set_newline("\r\n");
$this->email->from('helpdesk@acc.co.id','ITCareHelpdesk ACC');
$this->email->to('dpalevi@gmail.com');
$this->email->subject('[ITCARE] Reminder Request Approval ITCare ACC');
$this->email->message('');
I try to use lorem ipsum in my message when my "mailtype = text"
for check it, and I can send email, but when I use "mailtype = html"
I can't send my message