title: PHP mail function giving fatal error but mail is still sent
body: <p>I have (what I think) is a simple script to send a short mail:</p>
  
  <pre><code>&lt;?php
  
  $to = "test@test.co.uk";
  
  $subject = "Amendment required";
  $message = "Employee: " . $_POST['employees'] . "&lt;BR /&gt;&lt;BR /&gt;Notes: " . $_POST['notes'] . "&lt;BR /&gt;&lt;BR /&gt;Reported By: " . $_POST['empID'] . ".";
  $from = "amendments@test.co.uk";
  $headers = "MIME-Version: 1.0\r\n";
  $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
  $headers .= "From: $from";
  mail($to,$subject,$message,$headers);
  
  ?&gt;
  </code></pre>
  
  <p>(I've changed the email addresses for privacy reasons)</p>
  
  <p>When this is loaded, after a delay we get the error</p>
  
  <p>"Fatal error: Maximum execution time of 30 seconds exceeded..." - but the mail is sent successfully.</p>
  
  <p>Am i missing something simple here?</p>
  
  <p>Many thanks in advance</p>
  
  <p>leddy</p>