PHPMailer\PHPMailer

POP3::sendStringprotectedWP 1.0

Send raw data to the POP3 server.

Method of the class: POP3{}

No Hooks.

Returns

Int.

Usage

// protected - for code of main (parent) or child class
$result = $this->sendString( $string );
$string(string) (required)
.

POP3::sendString() code WP 7.0

protected function sendString($string)
{
    if ($this->pop_conn) {
        if ($this->do_debug >= self::DEBUG_CLIENT) { //Show client messages when debug >= 2
            echo 'Client -> Server: ', $string;
        }

        return fwrite($this->pop_conn, $string, strlen($string));
    }

    return 0;
}