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

(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: ''

Source Source

File: wp-includes/class-smtp.php


			

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.