SMTP::setError

SummerySummery

Set error messages and codes.

Syntax

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

ParametersParameters

$message

(string) (Required) The error message

$detail

(string) (Optional) Further detail on the error

Default value: ''

$smtp_code

(string) (Optional) An associated SMTP error code

Default value: ''

$smtp_code_ex

(string) (Optional) Extended SMTP code

Default value: ''

SourceSource

File: wp-includes/class-smtp.php


			
Scroll to Top