Documentation

FlexMailerTask

Class FlexMailerTask

Table of Contents

Properties

$address  : string
$contactId  : int
$eventQueueId  : int
$hash  : string
$mailParams  : array<string|int, mixed>
The full email message to send to this recipient (per alterMailParams).

Methods

__construct()  : mixed
FlexMailerTask constructor.
getAddress()  : string
getContactId()  : int
getEventQueueId()  : int
getHash()  : string
getMailParam()  : string
getMailParams()  : array<string|int, mixed>
hasContent()  : bool
setMailParam()  : $this
setMailParams()  : FlexMailerTask

Properties

$address

private string $address

Selected/preferred email address of the intended recipient.

$hash

private string $hash

An authentication code. The name is misleading - it may be hash, but that implementation detail is outside our purview.

Methods

__construct()

FlexMailerTask constructor.

public __construct(int $eventQueueId, int $contactId, string $hash, string $address) : mixed
Parameters
$eventQueueId : int

A persistent record for this email delivery.

$contactId : int

The ID of the recipiient.

$hash : string

An authentication code.

$address : string

Selected/preferred email address of the intended recipient.

getAddress()

public getAddress() : string
Return values
string

Selected email address of the intended recipient.

getHash()

public getHash() : string
Return values
string

An authentication code. The name is misleading - it may be hash, but that implementation detail is outside our purview.

getMailParam()

public getMailParam(string $key) : string
Parameters
$key : string
Tags
see
CRM_Utils_Hook::alterMailParams
Return values
string

getMailParams()

public getMailParams() : array<string|int, mixed>
Tags
see
CRM_Utils_Hook::alterMailParams
Return values
array<string|int, mixed>

setMailParam()

public setMailParam(string $key, string $value) : $this
Parameters
$key : string
$value : string
Tags
see
CRM_Utils_Hook::alterMailParams
Return values
$this

        
On this page

Search results