CRM_Mailing_MailStore_Mbox
class CRM_Mailing_MailStore_Mbox extends CRM_Mailing_MailStore
Class CRM_Mailing_MailStore_Mbox
Properties
$_debug | from CRM_Mailing_MailStore |
Methods
Return the proper mail store implementation, based on config settings.
Expunge the messages marked for deletion; stub function to be redefined by IMAP store.
Return the next X messages from the mail store.
Point to (and create if needed) a local Maildir for storing retrieved mail
Connect to and lock the supplied file and make sure the two mail dirs exist.
Empty the mail source (if it was processed fully) and unlock the file.
Fetch the specified message to the local ignore folder.
Fetch the specified message to the local processed folder.
Details
in CRM_Mailing_MailStore at line 47
static object
getStore(string $name = NULL)
Return the proper mail store implementation, based on config settings.
in CRM_Mailing_MailStore at line 90
array
allMails()
Return all emails in the mail store.
in CRM_Mailing_MailStore at line 97
expunge()
Expunge the messages marked for deletion; stub function to be redefined by IMAP store.
in CRM_Mailing_MailStore at line 109
array
fetchNext(int $count = 1)
Return the next X messages from the mail store.
in CRM_Mailing_MailStore at line 152
string
maildir(string $name)
Point to (and create if needed) a local Maildir for storing retrieved mail
at line 47
CRM_Mailing_MailStore_Mbox
__construct(string $file)
Connect to and lock the supplied file and make sure the two mail dirs exist.
at line 70
__destruct()
Empty the mail source (if it was processed fully) and unlock the file.
at line 87
markIgnored(int $nr)
Fetch the specified message to the local ignore folder.
at line 103
markProcessed(int $nr)
Fetch the specified message to the local processed folder.