voidNet_SMTP::setDebug (
boolean $debug
, callback $handler
)
Enables or disables debugging. Once debugging is enabled, messages preceded by "DEBUG: " are being echoed out.
See also Debugging introduction
New value for the debugging flag.
Callback function that gets called with Net_SMTP object and message to display.
throws no exceptions thrown
This function can not be called statically.