title: codeigniter : error in sending email
body: <p>I am beginner to the codeigniter,i want to send an email from codeigniter to gmail,code is like below,</p>
  
  <p>email configuration in email. controller</p>
  
  <pre><code>        $config = array(
              'protocol' =&gt; 'smtp',
              'smtp_host' =&gt; 'ssl://smtp.google.email.com',
              'smtp_port' =&gt; '465',
              'smtp_user' =&gt; 'manju.gate2013@gmail.com',
              'smtp_pass' =&gt; '*****'
              );
  </code></pre>
  
  <p>then i load the library</p>
  
  <pre><code>        $this-&gt;load-&gt;library('email',$config);
  </code></pre>
  
  <p>then i passe the required data from,to,password,subject and message to email library,</p>
  
  <pre><code>        $this-&gt;email-&gt;from('manju.gate2013@gmail.com');
          $this-&gt;email-&gt;to('manjunath861@gmail.com');
          $this-&gt;email-&gt;subject('this is testing email');
          $this-&gt;email-&gt;message('It is working');
  </code></pre>
  
  <p>and finally i check whether my email is sent or not by using fallowing condition</p>
  
  <pre><code>        if($this-&gt;email-&gt;send()==true){
  
              echo "your mail was sent";
          }
          else{
              show_error($this-&gt;email-&gt;print_debugger());
          }
  </code></pre>