|
XOOPS 2.5.6
Final
|
Public Member Functions | |
| __construct () | |
| Authorise ($host, $port=false, $tval=false, $username, $password, $debug_level=0) | |
| Connect ($host, $port=false, $tval=30) | |
| Disconnect () | |
| Login ($username= '', $password= '') | |
Public Attributes | |
| $CRLF = "\r\n" | |
| $do_debug = 2 | |
| $host | |
| $password | |
| $POP3_PORT = 110 | |
| $POP3_TIMEOUT = 30 | |
| $port | |
| $tval | |
| $username | |
| $Version = '5.2.1' | |
Private Member Functions | |
| catchWarning ($errno, $errstr, $errfile, $errline) | |
| checkResponse ($string) | |
| displayErrors () | |
| getResponse ($size=128) | |
| sendString ($string) | |
Private Attributes | |
| $connected | |
| $error | |
| $pop_conn | |
Definition at line 59 of file class.pop3.php.
| POP3::__construct | ( | ) |
Constructor, sets the initial values public
Definition at line 133 of file class.pop3.php.
Combination of public events - connect, login, disconnect public
| string | $host | |
| integer | $port | |
| integer | $tval | |
| string | $username | |
| string | $password |
Definition at line 148 of file class.pop3.php.
References $host, $password, $POP3_PORT, $POP3_TIMEOUT, $port, $result, $tval, $username, Connect(), Disconnect(), and Login().

|
private |
Takes over from PHP for the socket warning handler private
| integer | $errno | |
| string | $errstr | |
| string | $errfile | |
| integer | $errline |
Definition at line 400 of file class.pop3.php.
|
private |
Checks the POP3 server response for +OK or -ERR private
| string | $string |
Definition at line 359 of file class.pop3.php.
References displayErrors().
Referenced by Connect(), and Login().


| POP3::Connect | ( | $host, | |
$port = false, |
|||
$tval = 30 |
|||
| ) |
Connect to the POP3 server public
| string | $host | |
| integer | $port | |
| integer | $tval |
Definition at line 200 of file class.pop3.php.
References $host, $port, $tval, checkResponse(), displayErrors(), and getResponse().
Referenced by Authorise().


| POP3::Disconnect | ( | ) |
Disconnect from the POP3 server public
Definition at line 318 of file class.pop3.php.
References sendString().
Referenced by Authorise().


|
private |
If debug is enabled, display the error message array private
Definition at line 382 of file class.pop3.php.
Referenced by checkResponse(), Connect(), and Login().

|
private |
Get the socket response back. $size is the maximum number of bytes to retrieve private
| integer | $size |
Definition at line 335 of file class.pop3.php.
Referenced by Connect(), and Login().

| POP3::Login | ( | $username = '', |
|
$password = '' |
|||
| ) |
Login to the POP3 server (does not support APOP yet) public
| string | $username | |
| string | $password |
Definition at line 275 of file class.pop3.php.
References $CRLF, $password, $username, checkResponse(), displayErrors(), getResponse(), and sendString().
Referenced by Authorise().


|
private |
Send a string down the open socket connection to the POP3 server private
| string | $string |
Definition at line 347 of file class.pop3.php.
Referenced by Disconnect(), and Login().

|
private |
Definition at line 125 of file class.pop3.php.
| POP3::$CRLF = "\r\n" |
Definition at line 76 of file class.pop3.php.
Referenced by Login().
| POP3::$do_debug = 2 |
Definition at line 82 of file class.pop3.php.
|
private |
Definition at line 126 of file class.pop3.php.
| POP3::$host |
Definition at line 88 of file class.pop3.php.
Referenced by Authorise(), and Connect().
| POP3::$password |
Definition at line 112 of file class.pop3.php.
Referenced by Authorise(), and Login().
| POP3::$POP3_PORT = 110 |
Definition at line 64 of file class.pop3.php.
Referenced by Authorise().
| POP3::$POP3_TIMEOUT = 30 |
Definition at line 70 of file class.pop3.php.
Referenced by Authorise().
|
private |
Definition at line 124 of file class.pop3.php.
| POP3::$port |
Definition at line 94 of file class.pop3.php.
Referenced by Authorise(), and Connect().
| POP3::$tval |
Definition at line 100 of file class.pop3.php.
Referenced by Authorise(), and Connect().
| POP3::$username |
Definition at line 106 of file class.pop3.php.
Referenced by Authorise(), and Login().
| POP3::$Version = '5.2.1' |
Definition at line 118 of file class.pop3.php.