CRM_Mailing_MailStore_Localdir
class CRM_Mailing_MailStore_Localdir extends CRM_Mailing_MailStore
Class CRM_Mailing_MailStore_Localdir
Properties
bool | $_debug | flag to decide whether to print debug messages | 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 the supplied dir and make sure the two mail dirs exist.
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 50
static object
getStore(string $name = NULL)
Return the proper mail store implementation, based on config settings.
in CRM_Mailing_MailStore at line 93
array
allMails()
Return all emails in the mail store.
in CRM_Mailing_MailStore at line 100
expunge()
Expunge the messages marked for deletion; stub function to be redefined by IMAP store.
at line 74
array
fetchNext(int $count = 0)
Return the next X messages from the mail store.
FIXME: in CiviCRM 2.2 this always returns all the emails
in CRM_Mailing_MailStore at line 155
string
maildir(string $name)
Point to (and create if needed) a local Maildir for storing retrieved mail
at line 47
CRM_Mailing_MailStore_Localdir
__construct(string $dir)
Connect to the supplied dir and make sure the two mail dirs exist.
at line 130
markIgnored(int $file)
Fetch the specified message to the local ignore folder.
at line 148
markProcessed(int $file)
Fetch the specified message to the local processed folder.