SMTP::sendCommand

Advertisement

Summery Summery

Send a command to an SMTP server and check its return code.

Syntax Syntax

SMTP::sendCommand( string $command, string $commandstring, integer|array $expect )

Parameters Parameters

$command

(Required) The command name - not sent to the server

$commandstring

(Required) The actual command to send

$expect

(Required) One or more expected integer success codes

Return Return

(boolean) True on success.

Source Source

File: wp-includes/class-smtp.php


			

Advertisement

Advertisement

Leave a Reply