POP3 Class Reference

List of all members.


Detailed Description

Definition at line 48 of file class.pop3.php.


Public Member Functions

 __construct ()
 #@-
 Authorise ($host, $port=false, $tval=false, $username, $password, $debug_level=0)
 Combination of public events - connect, login, disconnect public.
 Connect ($host, $port=false, $tval=30)
 Connect to the POP3 server public.
 Disconnect ()
 Disconnect from the POP3 server public.
 getResponse ($size=128)
 Get the socket response back.
 Login ($username= '', $password= '')
 Login to the POP3 server (does not support APOP yet) public.

Public Attributes

 $CRLF = "\r\n"
 $do_debug = 2
 $host
 $password
 $POP3_PORT = 110
 $POP3_TIMEOUT = 30
 $port
 $tval
 $username

Private Member Functions

 catchWarning ($errno, $errstr, $errfile, $errline)
 Takes over from PHP for the socket warning handler private.
 checkResponse ($string)
 Checks the POP3 server response for +OK or -ERR private.
 displayErrors ()
 If debug is enabled, display the error message array private.
 sendString ($string)
 Send a string down the open socket connection to the POP3 server private.

Private Attributes

 $connected
 $error
 $pop_conn
 #@+ private

The documentation for this class was generated from the following file:

Generated on Mon Dec 8 01:16:45 2008 for Ship-Simulator by  doxygen 1.5.6