\Horde_Imap_Client_Socket_Connection_Pop3

PHP stream connection to the POP3 server.

NOTE: This class is NOT intended to be accessed outside of the package. There is NO guarantees that the API of this class will not change across versions.

Summary

Methods
Properties
Constants
write()
read()
No public properties found
No constants found
_connect()
$_protocol
N/A
No private methods found
No private properties found
N/A

Properties

$_protocol

$_protocol : string

Protocol type.

Type

string

Methods

write()

write(string  $data, boolean  $debug = true) 

Writes data to the POP3 output stream.

Parameters

string $data

String data.

boolean $debug

Output line to debug?

Throws

\Horde_Imap_Client_Exception

read()

read(integer  $size = null) : string

Read data from incoming POP3 stream.

Parameters

integer $size

UNUSED: The number of bytes to read from the socket.

Throws

\Horde_Imap_Client_Exception

Returns

string —

Line of data.

_connect()

_connect(  $host,   $port,   $timeout,   $secure,   $context,   $retries) 

Parameters

$host
$port
$timeout
$secure
$context
$retries