MailScanner crashing in debug mode

--[ UxBoD ]-- uxbod at
Tue Oct 18 10:23:55 IST 2011

Testing something out and when I ran MailScanner in debug mode I received and error that it tried to print a variable that was not defined on line 756 of : 

$handle->print($line . "\n"); 

I added my own debug line to print it and it ran through a couple of emails okay then died. I checked the email in question and on the face of things it looked okay. I decided to change the line to as below which allow it to be processed okay: 

if ($handle) { $handle->print($line . "\n"); } 

Any thoughts on why the handle would either not be created or is being destroyed ? 

Thanks, Phil 
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list