◆ authorise()
authorise |
( |
|
$host, |
|
|
|
$port = false , |
|
|
|
$timeout = false , |
|
|
|
$username = '' , |
|
|
|
$password = '' , |
|
|
|
$debug_level = 0 |
|
) |
| |
Authenticate with a POP3 server. A connect, login, disconnect sequence appropriate for POP-before SMTP authorisation. @access public
- Paramètres
-
string | $host | The hostname to connect to |
integer | boolean | $port | The port number to connect to |
integer | boolean | $timeout | The timeout value |
string | $username | |
string | $password | |
integer | $debug_level | |
- Renvoie
- boolean
◆ catchWarning()
catchWarning |
( |
|
$errno, |
|
|
|
$errstr, |
|
|
|
$errfile, |
|
|
|
$errline |
|
) |
| |
|
protected |
POP3 connection error handler.
- Paramètres
-
integer | $errno | |
string | $errstr | |
string | $errfile | |
integer | $errline | @access protected |
◆ checkResponse()
Checks the POP3 server response. Looks for for +OK or -ERR.
- Paramètres
-
- Renvoie
- boolean @access protected
◆ connect()
connect |
( |
|
$host, |
|
|
|
$port = false , |
|
|
|
$tval = 30 |
|
) |
| |
Connect to a POP3 server. @access public
- Paramètres
-
string | $host | |
integer | boolean | $port | |
integer | $tval | |
- Renvoie
- boolean
◆ disconnect()
Disconnect from the POP3 server. @access public
◆ getErrors()
Get an array of error messages, if any.
- Renvoie
- array
◆ getResponse()
getResponse |
( |
|
$size = 128 | ) |
|
|
protected |
Get a response from the POP3 server. $size is the maximum number of bytes to retrieve
- Paramètres
-
- Renvoie
- string @access protected
◆ login()
login |
( |
|
$username = '' , |
|
|
|
$password = '' |
|
) |
| |
Log in to the POP3 server. Does not support APOP (RFC 2828, 4949). @access public
- Paramètres
-
string | $username | |
string | $password | |
- Renvoie
- boolean
◆ popBeforeSmtp()
static popBeforeSmtp |
( |
|
$host, |
|
|
|
$port = false , |
|
|
|
$timeout = false , |
|
|
|
$username = '' , |
|
|
|
$password = '' , |
|
|
|
$debug_level = 0 |
|
) |
| |
|
static |
Simple static wrapper for all-in-one POP before SMTP
- Paramètres
-
| $host | |
integer | boolean | $port | The port number to connect to |
integer | boolean | $timeout | The timeout value |
string | $username | |
string | $password | |
integer | $debug_level | |
- Renvoie
- boolean
◆ sendString()
Send raw data to the POP3 server.
- Paramètres
-
- Renvoie
- integer @access protected
◆ setError()
Add an error to the internal error store. Also display debug output if it's enabled.
- Paramètres
-
◆ $connected
◆ $CRLF
◆ $do_debug
◆ $errors
◆ $host
◆ $password
◆ $POP3_PORT
◆ $POP3_TIMEOUT
◆ $pop_conn
◆ $port
◆ $tval
◆ $username
◆ $Version
◆ CRLF
La documentation de cette classe a été générée à partir du fichier suivant :