PHPMailer\PHPMailer

SMTP::noop()publicWP 1.0

Send an SMTP NOOP command. Used to keep keep-alives alive, doesn't actually do anything.

Method of the class: SMTP{}

No Hooks.

Returns

true|false.

Usage

$SMTP = new SMTP();
$SMTP->noop();

SMTP::noop() code WP 6.8.1

public function noop()
{
    return $this->sendCommand('NOOP', 'NOOP', 250);
}