Property | Type | Description | |
---|---|---|---|
$_params | array | A hash containing any parameters for the current driver. |
Method | Description | |
---|---|---|
__construct ( array $params = [] ) | Constructor. | |
checkMailbox ( string $user, string $domain ) : boolean | Checks whether a mailbox exists and is set up properly. | |
createMailbox ( string $user, string $domain ) | Creates a new mailbox. | |
deleteMailbox ( string $user, string $domain ) | Deletes an existing mailbox. | |
factory ( string $driver = null, array $params = null ) : Vilma_MailboxDriver | Creates a new mailbox driver instance. | |
getParam ( $param ) |
public __construct ( array $params = [] ) | ||
$params | array | Any parameters needed for this driver. |
abstract public createMailbox ( string $user, string $domain ) | ||
$user | string | The name of the mailbox to create. |
$domain | string | The name of the domain in which to create the mailbox. |
abstract public deleteMailbox ( string $user, string $domain ) | ||
$user | string | The name of the mailbox to delete. |
$domain | string | The name of the domain in which to delete the mailbox. |
protected array $_params | ||
return | array |