function SMTP::turn

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

Send an SMTP TURN command. This is an optional command for SMTP that this class does not support. This method is here to make the RFC821 Definition complete for this class and _may_ be implemented in future. Implements from RFC 821: TURN <CRLF>.

Return value

bool

File

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

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 turn() {
  $this->setError('The SMTP TURN command is not implemented');
  $this->edebug('SMTP NOTICE: ' . $this->error['error'], self::DEBUG_CLIENT);

  return false;
}