IMP_LoginTasks_Task_PurgeSentmail
extends Horde_LoginTasks_Task
in package
Login tasks module that purges old messages in the sent-mail mailbox.
Tags
Table of Contents
Methods
- __construct() : mixed
- Constructor.
- describe() : string
- Return information for the login task.
- execute() : bool
- Purge old messages in the sent-mail mailbox.
- _getMboxes() : array<string|int, mixed>
- Returns the list of sent-mail mailboxes.
Methods
__construct()
Constructor.
public
__construct() : mixed
describe()
Return information for the login task.
public
describe() : string
Return values
string —Description of what the operation is going to do during this login.
execute()
Purge old messages in the sent-mail mailbox.
public
execute() : bool
Return values
bool —Whether any messages were purged from the mailbox.
_getMboxes()
Returns the list of sent-mail mailboxes.
protected
_getMboxes() : array<string|int, mixed>
Return values
array<string|int, mixed> —All existing sent-mail mailboxes (IMP_Mailbox objects).