HumHub Documentation (unofficial)

Destination
in package

FinalYes

An object that describes the recipients for an email.

Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531 ^1. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters ^2. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492 ^3.

Table of Contents

Properties

$bccAddresses  : array<string|int, string>|null
An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
$ccAddresses  : array<string|int, string>|null
An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
$toAddresses  : array<string|int, string>|null
An array that contains the email addresses of the "To" recipients for the email.

Methods

__construct()  : mixed
create()  : self
getBccAddresses()  : array<string|int, string>
getCcAddresses()  : array<string|int, string>
getToAddresses()  : array<string|int, string>

Properties

$bccAddresses

An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.

private array<string|int, string>|null $bccAddresses

$ccAddresses

An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.

private array<string|int, string>|null $ccAddresses

$toAddresses

An array that contains the email addresses of the "To" recipients for the email.

private array<string|int, string>|null $toAddresses

Methods

__construct()

public __construct(array{ToAddresses?: null|string[], CcAddresses?: null|string[], BccAddresses?: null|string[]} $input) : mixed
Parameters
$input : array{ToAddresses?: null|string[], CcAddresses?: null|string[], BccAddresses?: null|string[]}

create()

public static create(array{ToAddresses?: null|string[], CcAddresses?: null|string[], BccAddresses?: null|string[]}|Destination $input) : self
Parameters
$input : array{ToAddresses?: null|string[], CcAddresses?: null|string[], BccAddresses?: null|string[]}|Destination
Return values
self

getBccAddresses()

public getBccAddresses() : array<string|int, string>
Return values
array<string|int, string>

getCcAddresses()

public getCcAddresses() : array<string|int, string>
Return values
array<string|int, string>

getToAddresses()

public getToAddresses() : array<string|int, string>
Return values
array<string|int, string>

        
On this page

Search results