PHPMailer\PHPMailer

SMTP::verify()publicWP 1.0

Send an SMTP VRFY command.

Method of the class: SMTP{}

No Hooks.

Return

true|false.

Usage

$SMTP = new SMTP();
$SMTP->verify( $name );
$name(string) (required)
The name to verify

SMTP::verify() code WP 6.5.2

public function verify($name)
{
    return $this->sendCommand('VRFY', "VRFY $name", [250, 251]);
}