CRM_Utils_Mail_Incoming
in package
Tags
Table of Contents
Constants
Methods
- formatAddress() : string
- formatAddresses() : string
- formatMail() : string
- formatMailDeliveryStatus() : string
- formatMailFile() : null
- formatMailMultipart() : mixed
- formatMailMultipartAlternative() : string
- formatMailMultipartDigest() : string
- formatMailMultipartMixed() : string
- formatMailMultipartRelated() : string
- formatMailMultipartReport() : string
- formatMailPart() : mixed
- formatMailRfc822Digest() : string
- formatMailText() : string
- formatUnrecognisedPart() : string
- parseMailingObject() : array<string|int, mixed>
- parseAddress() : mixed
Constants
EMAILPROCESSOR_CREATE_INDIVIDUAL
public
mixed
EMAILPROCESSOR_CREATE_INDIVIDUAL
= 1
EMAILPROCESSOR_IGNORE
public
mixed
EMAILPROCESSOR_IGNORE
= 3
EMAILPROCESSOR_OVERRIDE
public
mixed
EMAILPROCESSOR_OVERRIDE
= 2
Methods
formatAddress()
public
static formatAddress(mixed $address) : string
Parameters
- $address : mixed
Return values
stringformatAddresses()
public
static formatAddresses(mixed $addresses) : string
Parameters
- $addresses : mixed
Return values
stringformatMail()
public
static formatMail(mixed $mail, mixed &$attachments) : string
Parameters
- $mail : mixed
- $attachments : mixed
Return values
stringformatMailDeliveryStatus()
public
static formatMailDeliveryStatus(mixed $part) : string
Parameters
- $part : mixed
Return values
stringformatMailFile()
public
static formatMailFile(mixed $part, mixed &$attachments) : null
Parameters
- $part : mixed
- $attachments : mixed
Return values
nullformatMailMultipart()
public
static formatMailMultipart(mixed $part, mixed &$attachments) : mixed
Parameters
- $part : mixed
- $attachments : mixed
Tags
formatMailMultipartAlternative()
public
static formatMailMultipartAlternative(mixed $part, mixed &$attachments) : string
Parameters
- $part : mixed
- $attachments : mixed
Return values
stringformatMailMultipartDigest()
public
static formatMailMultipartDigest(mixed $part, mixed &$attachments) : string
Parameters
- $part : mixed
- $attachments : mixed
Return values
stringformatMailMultipartMixed()
public
static formatMailMultipartMixed(mixed $part, mixed &$attachments) : string
Parameters
- $part : mixed
- $attachments : mixed
Return values
stringformatMailMultipartRelated()
public
static formatMailMultipartRelated(mixed $part, mixed &$attachments) : string
Parameters
- $part : mixed
- $attachments : mixed
Return values
stringformatMailMultipartReport()
public
static formatMailMultipartReport(mixed $part, mixed &$attachments) : string
Parameters
- $part : mixed
- $attachments : mixed
Return values
stringformatMailPart()
public
static formatMailPart(mixed $part, mixed &$attachments) : mixed
Parameters
- $part : mixed
- $attachments : mixed
Tags
formatMailRfc822Digest()
public
static formatMailRfc822Digest(mixed $part, mixed &$attachments) : string
Parameters
- $part : mixed
- $attachments : mixed
Return values
stringformatMailText()
public
static formatMailText(mixed $part, mixed &$attachments) : string
Parameters
- $part : mixed
- $attachments : mixed
Return values
stringformatUnrecognisedPart()
public
static formatUnrecognisedPart(mixed $part) : string
Parameters
- $part : mixed
Return values
stringparseMailingObject()
public
static parseMailingObject(mixed &$mail, mixed $attachments, bool $createContact, array<string|int, mixed> $emailFields, array<string|int, mixed> $from) : array<string|int, mixed>
Parameters
- $mail : mixed
- $attachments : mixed
- $createContact : bool
- $emailFields : array<string|int, mixed>
-
Which fields to process and create contacts for - subset of [from, to, cc, bcc],
- $from : array<string|int, mixed>
Return values
array<string|int, mixed>parseAddress()
private
static parseAddress(ezcMailAddress $address, mixed &$subParam, mixed &$mail[, mixed $createContact = TRUE ]) : mixed
Parameters
- $address : ezcMailAddress
- $subParam : mixed
- $mail : mixed
- $createContact : mixed = TRUE