title: Why does error_log() always send exactly 3 emails?
body: <p>I'm using the error_log() function like so:</p>
  
  <pre><code>error_log($errorstring, 1, 'myemail@gmail.com');
  </code></pre>
  
  <p>And it works fine, but every single time it is executed I get exactly 3 copies of the same email spaced about 1 or 2 seconds apart.  There is no loop or anything that it's in, this is simply to notify me of a failed login attempt, so it is only called once before it die()s.</p>
  
  <p>Anyone have any bright ideas on this?</p>
  
  <p>EDIT: Sorry forgot to mention, this is in PHP using the error_log() function.</p>
  
  <p>EDIT2:  I have switched to using the custom error handler found here:</p>
  
  <p><a href="http://www.tonymarston.net/php-mysql/errorhandler.html" rel="nofollow">http://www.tonymarston.net/php-mysql/errorhandler.html</a></p>
  
  <p>What I have discovered is that while MySQL errors generate only a single email as intended, non-MySQL errors generate the three emails.  It's always three... never more or less, and they are spaced anywhere from 0 to 2 seconds apart, based on the timestamp sent in the emails.</p>
  
  <p>Anyone have any other ideas why in the world this would be happening??</p>