Page 1 of 1

lfd Possible Bug

Posted: 24 Jan 2007, 01:16
by boxfan
I have a PHP script that uses mail() to send out shipping confirmations to customers whose order shipped. Typically there are anywhere from 250 - 350 emails sent each day. After each mailing I receive an lfd: Script Alert email and in the email the line that says

Count: 101 emails sent

always has 101 as the number of emails sent no matter how many emails were actually sent out.

Not sure if this is a bug or lfd just stops counting at 101?

Thanks

Posted: 24 Jan 2007, 17:48
by chirpy
It keeps counting. It works by counting up to the limit and then sends out the alert email. The counter is then set back to 0. It will be triggered again when the limit is again reached. So, if the limit is 100 and 300 emals are sent you'll get 3 emails each stating that 100 emails had been sent. This stops your inbox getting flooded with alerts.