PHPMailer\PHPMailer

POP3::sendString │ protected │ WP 1.0

Send raw data to the POP3 server.

Метод класса: POP3{}

Хуков нет.

Возвращает

int.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->sendString( $string );
$string(строка) (обязательный)
.

Код POP3::sendString() WP 7.1.2

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;
}