function SMTP::reset

5.x SMTP.php public SMTP::reset()

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

Return value

bool True on success

File

inc/PHPMailer/src/SMTP.php, line 896

Class

SMTP
PHPMailer RFC821 SMTP email transport class. Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server.

Code

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