Documentation

Horde_Smtp_Exception_Recipients extends Horde_Smtp_Exception
in package

Extended exception class that provides information on recipient addresess that failed.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2014-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

since
1.8.0

Table of Contents

CATEGORY_ADDRESS  = 205
CATEGORY_CONNECTIONS  = 203
CATEGORY_CONTENT  = 209
CATEGORY_DELIVERY  = 208
CATEGORY_INFORMATIONAL  = 202
CATEGORY_MAILBOX  = 206
CATEGORY_MAILSYSTEM  = 204
CATEGORY_NETWORK  = 207
CATEGORY_SECURITY  = 210
CATEGORY_SYNTAX  = 201
DISCONNECT  = 4
INSUFFICIENT_STORAGE  = 6
LOGIN_AUTHENTICATIONFAILED  = 101
LOGIN_MISSINGEXTENSION  = 103
LOGIN_REQUIREAUTHENTICATION  = 102
LOGIN_TLSFAILURE  = 100
MAILBOX_UNAVAILABLE  = 5
OVERQUOTA  = 8
SERVER_CONNECT  = 1
SERVER_READERROR  = 2
SERVER_WRITEERROR  = 3
UNKNOWN_LOCAL_USER  = 7
UNSPECIFIED  = 0
$permanent  : bool
$raw_msg  : string
$recipients  : array<string|int, mixed>
Failed recipient list.
$_enhancedcode  : string
SMTP Enhanced Mail System Status Code (see RFC 3463).
$_rawmsg  : string
Raw error message (in English).
$_smtpcode  : int
SMTP reply code.
__construct()  : mixed
Constructor.
__get()  : mixed
getEnhancedSmtpCode()  : string
Get SMTP Enhanced Mail System Status Code (RFC 3463).
getSmtpCode()  : int
Get the SMTP reply code.
setEnhancedSmtpCode()  : mixed
Set SMTP Enhanced Mail System Status Code (RFC 3463).
setSmtpCode()  : mixed
Set the SMTP reply code.

Constants

CATEGORY_ADDRESS

public mixed CATEGORY_ADDRESS = 205

CATEGORY_CONNECTIONS

public mixed CATEGORY_CONNECTIONS = 203

CATEGORY_CONTENT

public mixed CATEGORY_CONTENT = 209

CATEGORY_DELIVERY

public mixed CATEGORY_DELIVERY = 208

CATEGORY_INFORMATIONAL

public mixed CATEGORY_INFORMATIONAL = 202

CATEGORY_MAILBOX

public mixed CATEGORY_MAILBOX = 206

CATEGORY_MAILSYSTEM

public mixed CATEGORY_MAILSYSTEM = 204

CATEGORY_NETWORK

public mixed CATEGORY_NETWORK = 207

CATEGORY_SECURITY

public mixed CATEGORY_SECURITY = 210

CATEGORY_SYNTAX

public mixed CATEGORY_SYNTAX = 201

INSUFFICIENT_STORAGE

public mixed INSUFFICIENT_STORAGE = 6

LOGIN_AUTHENTICATIONFAILED

public mixed LOGIN_AUTHENTICATIONFAILED = 101

LOGIN_MISSINGEXTENSION

public mixed LOGIN_MISSINGEXTENSION = 103

LOGIN_REQUIREAUTHENTICATION

public mixed LOGIN_REQUIREAUTHENTICATION = 102

LOGIN_TLSFAILURE

public mixed LOGIN_TLSFAILURE = 100

MAILBOX_UNAVAILABLE

public mixed MAILBOX_UNAVAILABLE = 5

SERVER_CONNECT

public mixed SERVER_CONNECT = 1

SERVER_READERROR

public mixed SERVER_READERROR = 2

SERVER_WRITEERROR

public mixed SERVER_WRITEERROR = 3

UNKNOWN_LOCAL_USER

public mixed UNKNOWN_LOCAL_USER = 7

Properties

$permanent read-only

public bool $permanent

Is this a permanent (non-transient) error? (@since 1.7.0)

$raw_msg read-only

public string $raw_msg

Raw error message from server (in English). (@since 1.4.0)

$recipients

Failed recipient list.

public array<string|int, mixed> $recipients = array()

$_enhancedcode

SMTP Enhanced Mail System Status Code (see RFC 3463).

protected string $_enhancedcode = \null

$_rawmsg

Raw error message (in English).

protected string $_rawmsg = ''

$_smtpcode

SMTP reply code.

protected int $_smtpcode = 0

Methods

__construct()

Constructor.

public __construct([mixed $message = null ][, code $code = null ]) : mixed
Parameters
$message : mixed = null
$code : code = null

Error code.

Return values
mixed

__get()

public __get(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

getEnhancedSmtpCode()

Get SMTP Enhanced Mail System Status Code (RFC 3463).

public getEnhancedSmtpCode() : string
Return values
string

Enhanced status code.

getSmtpCode()

Get the SMTP reply code.

public getSmtpCode() : int
Return values
int

Reply code.

setEnhancedSmtpCode()

Set SMTP Enhanced Mail System Status Code (RFC 3463).

public setEnhancedSmtpCode(string $code) : mixed
Parameters
$code : string

Enhanced status code.

Return values
mixed

setSmtpCode()

Set the SMTP reply code.

public setSmtpCode(int $smtpcode) : mixed
Parameters
$smtpcode : int

SMTP reply code.

Return values
mixed

Search results