SMTP::setDebugOutput
Set debug output method.
Signature
public function setDebugOutput([string
$method = 'echo'] )
Parameters
$method
— string
The name of the mechanism to use for debugging output, or a callable to handle it.