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

Метод класса: SMTP{}

Хуков нет.

Возвращает

true|false. True on success

Использование

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

Код SMTP::reset() WP 6.5.2

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