CRM_Utils_Mail_EmailProcessor
in package
Class CRM_Utils_Mail_EmailProcessor.
Table of Contents
Constants
- MIME_MAX_RECURSION = 10
Methods
- processActivities() : bool
- Process the mailboxes that aren't default (ie. that aren't used by civiMail for the bounce).
- processBounces() : mixed
- Process the default mailbox (ie. that is used by civiMail for the bounce)
- getTextFromMulipartReport() : array<string|int, mixed>
- getTextFromMultipart() : array<string|int, mixed>
- getTextFromMultipartRelated() : array<string|int, mixed>
- _process() : mixed
Constants
MIME_MAX_RECURSION
public
mixed
MIME_MAX_RECURSION
= 10
Methods
processActivities()
Process the mailboxes that aren't default (ie. that aren't used by civiMail for the bounce).
public
static processActivities() : bool
Tags
Return values
boolprocessBounces()
Process the default mailbox (ie. that is used by civiMail for the bounce)
public
static processBounces(bool $is_create_activities) : mixed
Parameters
- $is_create_activities : bool
-
Should activities be created
getTextFromMulipartReport()
protected
static getTextFromMulipartReport(ezcMailMultipartReport $multipart, mixed $recursionLevel) : array<string|int, mixed>
Parameters
- $multipart : ezcMailMultipartReport
- $recursionLevel : mixed
Return values
array<string|int, mixed>getTextFromMultipart()
protected
static getTextFromMultipart(ezcMailMultipart $multipart[, int $recursionLevel = 0 ]) : array<string|int, mixed>
Parameters
- $multipart : ezcMailMultipart
- $recursionLevel : int = 0
Return values
array<string|int, mixed>getTextFromMultipartRelated()
protected
static getTextFromMultipartRelated(ezcMailMultipartRelated $related, int $recursionLevel) : array<string|int, mixed>
Parameters
- $related : ezcMailMultipartRelated
- $recursionLevel : int
Return values
array<string|int, mixed>_process()
private
static _process(mixed $civiMail, CRM_Core_DAO_MailSettings $dao, bool $is_create_activities) : mixed
Parameters
- $civiMail : mixed
- $dao : CRM_Core_DAO_MailSettings
- $is_create_activities : bool
-
Create activities.