Documentation

CRM_Utils_Mail_Incoming
in package

Tags
copyright

CiviCRM LLC https://civicrm.org/licensing

Table of Contents

Constants

EMAILPROCESSOR_CREATE_INDIVIDUAL  = 1
EMAILPROCESSOR_IGNORE  = 3
EMAILPROCESSOR_OVERRIDE  = 2

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
string

formatAddresses()

public static formatAddresses(mixed $addresses) : string
Parameters
$addresses : mixed
Return values
string

formatMail()

public static formatMail(mixed $mail, mixed &$attachments) : string
Parameters
$mail : mixed
$attachments : mixed
Return values
string

formatMailDeliveryStatus()

public static formatMailDeliveryStatus(mixed $part) : string
Parameters
$part : mixed
Return values
string

formatMailFile()

public static formatMailFile(mixed $part, mixed &$attachments) : null
Parameters
$part : mixed
$attachments : mixed
Return values
null

formatMailMultipart()

public static formatMailMultipart(mixed $part, mixed &$attachments) : mixed
Parameters
$part : mixed
$attachments : mixed
Tags
throws
Exception

formatMailMultipartAlternative()

public static formatMailMultipartAlternative(mixed $part, mixed &$attachments) : string
Parameters
$part : mixed
$attachments : mixed
Return values
string

formatMailMultipartDigest()

public static formatMailMultipartDigest(mixed $part, mixed &$attachments) : string
Parameters
$part : mixed
$attachments : mixed
Return values
string

formatMailMultipartMixed()

public static formatMailMultipartMixed(mixed $part, mixed &$attachments) : string
Parameters
$part : mixed
$attachments : mixed
Return values
string

formatMailMultipartRelated()

public static formatMailMultipartRelated(mixed $part, mixed &$attachments) : string
Parameters
$part : mixed
$attachments : mixed
Return values
string

formatMailMultipartReport()

public static formatMailMultipartReport(mixed $part, mixed &$attachments) : string
Parameters
$part : mixed
$attachments : mixed
Return values
string

formatMailPart()

public static formatMailPart(mixed $part, mixed &$attachments) : mixed
Parameters
$part : mixed
$attachments : mixed
Tags
throws
Exception

formatMailRfc822Digest()

public static formatMailRfc822Digest(mixed $part, mixed &$attachments) : string
Parameters
$part : mixed
$attachments : mixed
Return values
string

formatMailText()

public static formatMailText(mixed $part, mixed &$attachments) : string
Parameters
$part : mixed
$attachments : mixed
Return values
string

formatUnrecognisedPart()

public static formatUnrecognisedPart(mixed $part) : string
Parameters
$part : mixed
Return values
string

parseMailingObject()

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

        
On this page

Search results