protected function POP3::getResponse

5.x POP3.php protected POP3::getResponse($size = 128)

Get a response from the POP3 server.

Parameters

int $size The maximum number of bytes to retrieve:

Return value

string

2 calls to POP3::getResponse()
POP3::connect in inc/PHPMailer/src/POP3.php
Connect to a POP3 server.
POP3::login in inc/PHPMailer/src/POP3.php
Log in to the POP3 server. Does not support APOP (RFC 2828, 4949).

File

inc/PHPMailer/src/POP3.php, line 327

Class

POP3
PHPMailer POP-Before-SMTP Authentication Class. Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication. 1) This class does not support APOP authentication. 2) Opening and closing lots of POP3 connections can be quite slow. If you…

Namespace

PHPMailer\PHPMailer

Code

protected function getResponse($size = 128) 
 {
  $response = fgets($this->pop_conn, $size);
  if ($this->do_debug >= 1) {
    echo 'Server -> Client: ', $response;
  }

  return $response;
}