Свойство | Type | Description | |
---|---|---|---|
$CRLF | string | POP3 Carriage Return + Line Feed | |
$POP3_PORT | integer | Default POP3 port | |
$POP3_TIMEOUT | integer | Default Timeout | |
$do_debug | integer | Displaying Debug warnings? (0 = now, 1+ = yes) | |
$host | string | POP3 Mail Server | |
$password | string | POP3 Password | |
$port | integer | POP3 Port | |
$tval | integer | POP3 Timeout Value | |
$username | string | POP3 Username |
Méthode | Description | |
---|---|---|
Authorise ( string $host, integer $port = false, integer $tval = false, string $username, string $password, $debug_level ) | Combination of public events - connect, login, disconnect | |
Connect ( string $host, integer $port = false, integer $tval = 30 ) : boolean | Connect to the POP3 server | |
Disconnect ( ) | Disconnect from the POP3 server | |
Login ( string $username = '', string $password = '' ) : boolean | Login to the POP3 server (does not support APOP yet) | |
__construct ( ) : POP3 | Constructor, sets the initial values |
Méthode | Description | |
---|---|---|
catchWarning ( integer $errno, string $errstr, string $errfile, integer $errline ) | Takes over from PHP for the socket warning handler | |
checkResponse ( string $string ) : boolean | Checks the POP3 server response for +OK or -ERR | |
displayErrors ( ) | If debug is enabled, display the error message array | |
getResponse ( integer $size = 128 ) : string | Get the socket response back. | |
sendString ( string $string ) : integer | Send a string down the open socket connection to the POP3 server |
public __construct ( ) : POP3 | ||
Résultat | POP3 |
public int $do_debug | ||
Résultat | integer |