SMTP::setError

Advertisement

Summery Summery

Set error messages and codes.

Syntax Syntax

SMTP::setError( string $message, string $detail = '', string $smtp_code = '', string $smtp_code_ex = '' )

Parameters Parameters

$message

(Required) The error message

$detail

(Optional) Further detail on the error

Default value: ''

$smtp_code

(Optional) An associated SMTP error code

Default value: ''

$smtp_code_ex

(Optional) Extended SMTP code

Default value: ''

Source Source

File: wp-includes/class-smtp.php


			

Advertisement

Advertisement

Leave a Reply