| [ Index ] |
|
Code source de e107 0.7.8 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 389 lignes (8 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
POP3:: (10 méthodes):
POP3()
Authorise()
Connect()
Login()
Disconnect()
getResponse()
sendString()
checkResponse()
displayErrors()
catchWarning()
| POP3() X-Ref |
| Our constructor, sets the initial values return: POP3 |
| Authorise($host, $port = false, $tval = false, $username, $password, $debug_level = 0) X-Ref |
| Combination of public events - connect, login, disconnect param: string $host param: integer $port param: integer $tval param: string $username param: string $password |
| Connect($host, $port = false, $tval = 30) X-Ref |
| Connect to the POP3 server param: string $host param: integer $port param: integer $tval return: boolean |
| Login($username = '', $password = '') X-Ref |
| Login to the POP3 server (does not support APOP yet) param: string $username param: string $password return: boolean |
| Disconnect() X-Ref |
| Disconnect from the POP3 server |
| getResponse($size = 128) X-Ref |
| Get the socket response back. $size is the maximum number of bytes to retrieve param: integer $size return: string |
| sendString($string) X-Ref |
| Send a string down the open socket connection to the POP3 server param: string $string return: integer |
| checkResponse($string) X-Ref |
| Checks the POP3 server response for +OK or -ERR param: string $string return: boolean |
| displayErrors() X-Ref |
| If debug is enabled, display the error message array |
| catchWarning($errno, $errstr, $errfile, $errline) X-Ref |
| Takes over from PHP for the socket warning handler param: integer $errno param: string $errstr param: string $errfile param: integer $errline |
| Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |