function SMTP::noop

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

Send an SMTP NOOP command. Used to keep keep-alives alive, doesn't actually do anything.

Return value

bool

File

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

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 noop() {
  return $this->sendCommand('NOOP', 'NOOP', 250);
}