PHPMailer\PHPMailer

SMTP::reset()publicWP 1.0

Send an SMTP RSET command. Abort any transaction that is currently in progress. Implements RFC 821: RSET <CRLF>.

Method of the class: SMTP{}

No Hooks.

Return

true|false. True on success

Usage

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

SMTP::reset() code WP 6.4.3

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