title: fwrite() send of 40 bytes failed with errno=32 Broken pipe
body: <p>I am developing a project using codeigniter framework</p>
  
  <p>there i have some code like below</p>
  
  <pre><code>fwrite($this-&gt;_smtp_connect, $data . $this-&gt;newline))
  </code></pre>
  
  <p>$data contains the data to be sent through email</p>
  
  <p>But I am getting the error</p>
  
  <blockquote>
    <p>Severity: Notice  --> fwrite(): send of 40 bytes failed with <strong>errno=32</strong> Broken pipe</p>
  </blockquote>
  
  <p>How to solve this?</p>