Net_SMTP::setDebug

Net_SMTP::setDebug() – Set the value of the debugging flag.

Synopsis

require_once 'NET/SMTP.php';

voidNet_SMTP::setDebug ( boolean $debug , callback $handler )

Description

Enables or disables debugging. Once debugging is enabled, messages preceded by "DEBUG: " are being echoed out.

See also Debugging introduction

Parameter

boolean $debug

New value for the debugging flag.

callback $handler

Callback function that gets called with Net_SMTP object and message to display.

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Send the SEND FROM: command. (Previous) Send the SOML FROM: command. (Next)
Last updated: Fri, 28 Nov 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.