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

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

$commandstring

(string) (Required) The actual command to send

$expect

(integer|array) (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

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