title: send html mail using codeigniter
body: <p>Error in  mail content using SMTP in codeigniter 
  Actually, my mail is sent with <code>HTML</code> tags and it is showing the <code>HTML</code> tags which is not correct.</p>
  
  <pre><code>$config = Array(
  'protocol' =&gt; 'smtp',
          'smtp_host' =&gt; 'ssl://smtp.googlemail.com',
          'smtp_port' =&gt; 465,
          'smtp_user' =&gt; 'user@gmail.com',
          'smtp_pass' =&gt; '',
          'mailtype'  =&gt; 'html', 
          'charset' =&gt; 'utf-8',
          'wordwrap' =&gt; TRUE
  
      );
      $this-&gt;load-&gt;library('email', $config);
      $this-&gt;email-&gt;set_newline("\r\n");
      $email_body ="&lt;div&gt;hello world&lt;/div&gt;";
      $this-&gt;email-&gt;from('user@gmail.com', 'ddd');
  
      $list = array('user@gmail.com');
      $this-&gt;email-&gt;to($list);
      $this-&gt;email-&gt;subject('Testing Email');
      $this-&gt;email-&gt;message($email_body);
  
      $this-&gt;email-&gt;send();
      echo $this-&gt;email-&gt;print_debugger();
  </code></pre>
  
  <p>If am sending mail without using SMTP it works fine. What is my mistake?</p>