| Net_Vpopmaild |
| [ class tree: Net_Vpopmaild ] [ index: Net_Vpopmaild ] [ all elements ] |
|
Packages: Net_Vpopmaild Classes: Files: |
[ Top ] $gidFlagValues = array(
|
| Type: | array |
[line 59]
loginUserThis is an array of the logged in user's info.
| Type: | mixed |
[line 124]
vpopmailRobotNumberautorespond number argument
| Type: | int |
[line 106]
vpopmailRobotProgrampath to autorespond
| Type: | string |
[line 115]
vpopmailRobotTimeautorespond time argument
| Type: | int |
|
Assign $log an external instance of Log
| object | &$log | — | instance of Log |
|
Make a connection to vpopmaild using Net_Socket::connect().
| string | $address | — | defaults to 'localhost' |
| int | $port | — | defaults to 89 |
| int | $timeout | — | defaults to 30 (seconds) |
|
Return status method. Verifies that $data is exactly "."
| string | $data | — | string to be checked |
|
Format file/directory paths into user@domain/path.
| mixed | $domain | — | domain name required |
| string | $user | — | optional user name |
| string | $path | — | optional filename path |
| string | $type | — | type file or directory, defaults to 'file' |
|
List a directory and return the contents as an array.
| mixed | $domain | — | domain name |
| string | $user | — | optional user name |
| string | $path | — | optional path |
|
Create a directory.
| mixed | $domain | — | domain name |
| string | $user | — | optional user name |
| string | $path | — | optional path |
|
Read a file and return the contents as an array.
| mixed | $domain | — | domain name |
| string | $user | — | optional username |
| string | $path | — | optional path |
|
Collect user/dom info into an Array and return. NOTE: +OK has already been read.
|
Record i/o to $log. Only logs if $this->debug is set to true.
| string | $data | — | data to be logged |
|
Remove a directory.
| mixed | $domain | — | domain name |
| string | $user | — | optional user name |
| string | $path | — | optional path name |
|
Remove a file.
| mixed | $domain | — | domain name, required |
| string | $user | — | optional user name |
| string | $path | — | optional path |
|
Set $debug (true by default). Call this to set $debug to true and enable logging.
| bool | $value | — | defaults to true to enable debugging |
| string | $logFile | — | path to local log file, defaults to System::tmpdir() . PATH_SEPARATOR . 'vpopmaild.log' (/tmp/vpopmaild.log on Unix, for example) |
|
Read line from socket. Uses Net_Socket::readLine().
|
Write $data to socket. Uses Net_Socket::writeLine().
| string | $data | — | string to be checked |
|
Return status method. Verifies that $data starts with "-ERR "
| string | $data | — | string to be checked |
|
Return status method. Verifies that $data contains +OK
| string | $data | — | string to be checked |
|
Return status method. Verifies that $data is is exactly +OK+ (more to come)
| string | $data | — | string to be checked |
|
Return status method. Verifies that $data is exactly +OK
| string | $data | — | string to be checked |
|
Write a file.
| mixed | $contents | — | file contents |
| mixed | $domain | — | domain name |
| string | $user | — | optional user name |
| string | $path | — | optional path |