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>.

{} It's a method of the class: SMTP{}

No Hooks.

Return

true|false. True on success

Usage

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

Code of SMTP::reset() WP 6.0

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