PHPMailer\PHPMailer

SMTP::reset │ public │ WP 1.0

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

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

Хуков нет.

Возвращает

bool. True on success

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

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

Код SMTP::reset() WP 7.1.2

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