PHPMailer\PHPMailer

POP3::getResponseprotectedWP 1.0

Get a response from the POP3 server.

Method of the class: POP3{}

No Hooks.

Returns

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->getResponse( $size );
$size(int)
The maximum number of bytes to retrieve.
Default: 128

POP3::getResponse() code WP 6.9.1

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

    return $response;
}