title: Codeigniter email class fails to send email due connection was aborted by the software in your host machine
body: <p>This is the error I'm getting when using the email class with Google smtp settings.</p>
  
  <pre><code>Severity: Notice
  
  Message: fwrite(): send of 5 bytes failed with errno=10053 An established connection was aborted by the software in your host machine.
  
  Filename: libraries/Email.php
  
  Line Number: 2250
  
  Backtrace:
  </code></pre>
  
  <p>this is the email class config at the controller file that I have written to send the message</p>
  
  <pre><code>$config = array(
                  'protocol'  =&gt; 'smtp',
                  'smtp_host' =&gt; 'smtp.gmail.com',
                  'smtp_port' =&gt; 465,
                  'smtp_user' =&gt; 'xxxx@gmail.com',
                  'smtp_pass' =&gt; 'xxxxx',
                  'mailtype'  =&gt; 'html',
                  'charset'   =&gt; 'utf-8'
                  );
  </code></pre>