PHP Class Vilma_MailboxDriver_Maildrop, horde

See the enclosed file LICENSE for license information (BSD). If you did not did not receive this file, see http://www.horde.org/licenses/bsd.
Author: Jason M. Felice ([email protected])
Inheritance: extends Vilma_MailboxDriver
显示文件 Open project: horde/horde

Public Methods

Method Description
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.

Protected Methods

Method Description
_getMailboxDir ( $user, $domain )

Method Details

_getMailboxDir() protected method

protected _getMailboxDir ( $user, $domain )

checkMailbox() public method

Checks whether a mailbox exists and is set up properly.
public checkMailbox ( string $user, string $domain ) : boolean
$user string The name of the mailbox to check.
$domain string The mailbox' domain.
return boolean True if the mailbox exists.

createMailbox() public method

Creates a new mailbox.
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.

deleteMailbox() public method

Deletes an existing mailbox.
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.