◆ 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. 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
Références $host, $password, $POP3_PORT, $POP3_TIMEOUT, $port, $username, connect(), disconnect(), et login().
Référencé par popBeforeSmtp().
◆ catchWarning()
catchWarning |
( |
|
$errno, |
|
|
|
$errstr, |
|
|
|
$errfile, |
|
|
|
$errline |
|
) |
| |
|
protected |
POP3 connection error handler.
- Paramètres
-
integer | $errno | |
string | $errstr | |
string | $errfile | |
integer | $errline | protected |
Références setError().
◆ checkResponse()
Checks the POP3 server response. Looks for for +OK or -ERR.
- Paramètres
-
- Renvoie
- boolean protected
Références setError().
Référencé par connect(), et login().
◆ connect()
connect |
( |
|
$host, |
|
|
|
$port = false , |
|
|
|
$tval = 30 |
|
) |
| |
◆ disconnect()
◆ getErrors()
Get an array of error messages, if any.
- Renvoie
- array
Références $errors.
◆ 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 protected
Référencé par connect(), et login().
◆ login()
login |
( |
|
$username = '' , |
|
|
|
$password = '' |
|
) |
| |
◆ 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
Références $host, $password, $port, $username, et authorise().
◆ sendString()
◆ setError()
◆ $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 :