PHP Class Horde_Smtp_Exception, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Exception
Show file Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_enhancedcode string SMTP Enhanced Mail System Status Code (see RFC 3463).
$_rawmsg string Raw error message (in English).
$_smtpcode integer SMTP reply code.

Public Methods

Method Description
__construct ( $message = null, code $code = null ) Constructor.
__get ( $name )
getEnhancedSmtpCode ( ) : string Get SMTP Enhanced Mail System Status Code (RFC 3463).
getSmtpCode ( ) : integer Get the SMTP reply code.
setEnhancedSmtpCode ( string $code ) Set SMTP Enhanced Mail System Status Code (RFC 3463).
setSmtpCode ( integer $smtpcode ) Set the SMTP reply code.

Method Details

__construct() public method

Constructor.
public __construct ( $message = null, code $code = null )
$code code Error code.

__get() public method

public __get ( $name )

getEnhancedSmtpCode() public method

Get SMTP Enhanced Mail System Status Code (RFC 3463).
public getEnhancedSmtpCode ( ) : string
return string Enhanced status code.

getSmtpCode() public method

Get the SMTP reply code.
public getSmtpCode ( ) : integer
return integer Reply code.

setEnhancedSmtpCode() public method

Set SMTP Enhanced Mail System Status Code (RFC 3463).
public setEnhancedSmtpCode ( string $code )
$code string Enhanced status code.

setSmtpCode() public method

Set the SMTP reply code.
public setSmtpCode ( integer $smtpcode )
$smtpcode integer SMTP reply code.

Property Details

$_enhancedcode protected property

SMTP Enhanced Mail System Status Code (see RFC 3463).
protected string $_enhancedcode
return string

$_rawmsg protected property

Raw error message (in English).
protected string $_rawmsg
return string

$_smtpcode protected property

SMTP reply code.
protected int $_smtpcode
return integer