title: can't send email with codeigniter
body: <p>i try to send mail in codeigniter like this :</p>
  
  <pre><code>    public function send()  
    { 
      $config = Array(
        'protocol' =&gt; 'smtp',
        'smtp_host' =&gt; 'smtp.googlemail.com',
        'smtp_port' =&gt; 587,
        'smtp_user' =&gt; 'myemail@gmail.com',
        'smtp_pass' =&gt; 'mypass',
        'newlin'    =&gt; "\r\n"
      );
     $this-&gt;load-&gt;library('email', $config);  
     $this-&gt;email-&gt;set_newline("\r\n");  
     $this-&gt;email-&gt;from('myemail@gmail.com', 'Admin Re:Code');   
     $this-&gt;email-&gt;to('toanotheremail@gmail.com');   
     $this-&gt;email-&gt;subject('Percobaan email');   
     $this-&gt;email-&gt;message('Ini adalah email percobaan untuk Tutorial CodeIgniter: Mengirim Email via Gmail SMTP menggunakan Email Library CodeIgniter @ recodeku.blogspot.com');  
     if (!$this-&gt;email-&gt;send()) {  
      show_error($this-&gt;email-&gt;print_debugger());   
     }else{  
      echo 'Success to send email';   
     }  
    }
  </code></pre>
  
  <p>but i have some error :</p>
  
  <blockquote>
    <p>220 smtp.googlemail.com ESMTP g15sm4364297pgu.52 - gsmtp </p>
    
    <p>hello: 250-smtp.googlemail.com at your service, [182.253.163.55]</p>
    
    <p>250-SIZE 35882577</p>
    
    <p>250-8BITMIME </p>
    
    <p>250-STARTTLS </p>
    
    <p>250-ENHANCEDSTATUSCODES</p>
    
    <p>250-PIPELINING </p>
    
    <p>250-CHUNKING</p>
    
    <p>250 SMTPUTF8</p>
    
    <p>Failed to send AUTH LOGIN command. Error: 530 5.7.0 Must issue a STARTTLS command first. g15sm4364297pgu.52 - 
    gsmtp  Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.</p>
  </blockquote>
  
  <p>please help me.</p>