CRM_Mailing_MailStore_Imap
class CRM_Mailing_MailStore_Imap extends CRM_Mailing_MailStore
Class CRM_Mailing_MailStore_Imap
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, CRM-7356
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 IMAP server and make sure the two mailboxes exist.
Move the specified message to the ignored folder.
Move the specified message to the 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.
at line 92
expunge()
Expunge the messages marked for deletion, CRM-7356
in CRM_Mailing_MailStore at line 112
array
fetchNext(int $count = 1)
Return the next X messages from the mail store.
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 55
CRM_Mailing_MailStore_Imap
__construct(string $host, string $username, string $password, bool $ssl = TRUE, string $folder = 'INBOX')
Connect to the supplied IMAP server and make sure the two mailboxes exist.
at line 102
markIgnored(int $nr)
Move the specified message to the ignored folder.
at line 117
markProcessed(int $nr)
Move the specified message to the processed folder.