previousNet_SMTP::send_from (Previous) (Next) Net_SMTP::soml_fromnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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.

previousNet_SMTP::send_from (Previous) (Next) Net_SMTP::soml_fromnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.