title: Email doesn't contain first few lines got by output buffer php
body: <p>I have a php script containing a function which when run gives output. I am using that output as output buffer by using ob_start and ob_get_clean functions and emailing that output which contains some html as a report. Problem is, email doesn't first few lines of output, tried many times but every time first few lines are missing. </p>
  
  <p>How to resolve this?</p>
  
  <pre><code>&lt;?php
  function abc{
  echo 'Server Time: '.date('l jS \of F Y h:i:s A').'&lt;br&gt;';
  echo "Lorem ipsum dolor sit amet, consectetur adipiscing elit. &lt;br&gt;
  Vestibulum semper purus ut felis interdum at tempus turpis imperdiet. &lt;br&gt; 
  Donec varius accumsan magna nec blandit. &lt;br&gt;
  Donec a pellentesque ligula. Curabitur accumsan mauris non velit vehicula sodales. &lt;br&gt;
  Phasellus vestibulum vestibulum nunc ut lobortis. Ut eu rutrum orci. Phasellus tempor eleifend congue. &lt;br&gt;
  In mollis porta arcu. Integer congue fringilla lorem.";
  }
  
  function mailasreport($message) {
  $headers .= "MIME-Version: 1.0\r\n";
  $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
  mail('example@hotmail.com', $subject, $message, $headers);
  }
  ob_start();
  abc();
  $report = ob_get_clean();
  mailasreport($report);
  ?&gt;
  </code></pre>
  
  <p>Email Output:</p>
  
  <pre><code>Donec varius accumsan magna nec blandit.
  Donec a pellentesque ligula. Curabitur accumsan mauris non velit vehicula sodales. 
  Phasellus vestibulum vestibulum nunc ut lobortis. Ut eu rutrum orci. Phasellus tempor eleifend congue. 
  In mollis porta arcu. Integer congue fringilla lorem.
  </code></pre>
  
  <p>Original Code is very long, this is its small clone!</p>