IMP_LoginTasks_Task_PurgeSpam
extends Horde_LoginTasks_Task
in package
Login tasks module that purges old messages in the Spam mailbox.
Tags
Table of Contents
Methods
- __construct() : mixed
- Constructor.
- describe() : string
- Return information for the login task.
- execute() : bool
- Purge old messages in the Spam mailbox.
- _spamMbox() : IMP_Mailbox
- Return the spam mailbox.
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 Spam mailbox.
public
execute() : bool
Return values
bool —Whether any messages were purged from the mailbox.
_spamMbox()
Return the spam mailbox.
protected
_spamMbox() : IMP_Mailbox
Return values
IMP_Mailbox —The spam mailbox, if it exists. Otherwise, false.