title: Response Email Won`t Sent
body: <p>I'm trying to make automatic newsletter reply using codeigniter.</p>
  
  <pre><code>     public function response() 
      {
      $status             = $this-&gt;uri-&gt;segment(3);           
      $id                 = $this-&gt;uri-&gt;segment(4);
      $id_user            = $this-&gt;uri-&gt;segment(5);
  
      $data['id']         = $id;
      $data['status']     = $status ;
  
     $this-&gt;messages_model-&gt;pending($data); &lt;&lt;&lt;&lt;update database
  
     $this-&gt;load-&gt;library('email');
  
     $config['protocol']  = 'smtp';           
     $config['smtp_host']    = 'host.org';            
     $config['smtp_port'] = 'secretport';         
     $config['smtp_user'] = 'from_email@example.com';          
     $config['smtp_pass'] = 'examplepassword';        
     $config['smtp_timeout']  = '100';        
     $config['mailtype']      = 'html';         
     $config['charset']       = 'utf-8';              
     $config['newline']       = "\r\n";       
  
      if($status == "approved") {
      $message='your form is approved';
      redirect("/response/approved");
             }else{
      $message='your form is approved';
      redirect("/response/rejected");
         }         
           $to_email = $this-&gt;messages_model-&gt;reply($id_user);
  
           $this-&gt;email-&gt;initialize($config);
           $this-&gt;email-&gt;from('blablabla@email.com', 'NAME');
           $this-&gt;email-&gt;to($to_email);
           $this-&gt;email-&gt;subject('Confirmation Note'); 
           $this-&gt;email-&gt;message($message);
       }
  </code></pre>
  
  <p>It's updating database succesfully,but no email on my inbox.</p>
  
  <p>Is something wrong with this code ?</p>