title: Code igniter email functionality
body: <p>I am using codeigniter for my web application and i use the codeigniter's email functionality to send email. But I occurred the following error when i try to send the email.</p>
  
  <p><em>Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP</em> </p>
  
  <p>This is the code i used to gain the functionality.</p>
  
  <pre><code>$config['protocol'] = "smtp";
      $config['smtp_host'] = "ssl://smtp.googlemail.com";
      $config['smtp_port'] = 465;
      $config['smtp_user'] = "xxxx@gmail.com";
      $config['smtp_pass'] = "xxxxxx";
  
      $this-&gt;load-&gt;library('email');
      $this-&gt;email-&gt;initialize($config);
      $this-&gt;email-&gt;set_newline("\r\n");
  
      $this-&gt;email-&gt;from('xxxx@gmail.com','Sample');
      $this-&gt;email-&gt;to('xxxxx@gmail.com');
      $this-&gt;email-&gt;subject('temperary Email');
      $this-&gt;email-&gt;message('This is a sample message');
  
      if ($this-&gt;email-&gt;send()) {
          echo 'Your email was sent, dude.';
      } else {
          show_error($this-&gt;email-&gt;print_debugger());
      }
  </code></pre>
  
  <p>What is wrong with this?</p>
  
  <p>Thanks..</p>