Login   Register  
PHP Classes
elePHPant
Icontem

To Many To:'s crashing Apache

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Receive Mail  >  All threads  >  To Many To:'s crashing Apache  >  (Un) Subscribe thread alerts  
Subject:To Many To:'s crashing Apache
Summary:If an email was sent to many people, a bug causes Apache crash
Messages:1
Author:Edward Jones
Date:2012-11-15 12:50:25
 

  1. To Many To:'s crashing Apache   Reply  
Picture of Edward Jones
Edward Jones
2012-11-15 12:50:25
Hi,

Great class which works really well, this has saved me a load of time.

I integrated this class into a local application a couple of years ago with great success, however there does seem to be an odd bug.

If an email (usually spam) has been sent to dozens of email addresses, with each appearing in the To field, an error is caused which actually crashes Apache. Every time our email receiver runs (which happens every ten minutes) the same happens, causing quite a lot of grief. I've only ever encountered this 3 times, and the number of emails received per day runs into several hundred.

For clarity, I am not extracting this element of the header or processing it, I believe it stems from here $head=$obj->getHeaders($t);

Any ideas at all?