Message
extends Message
in package
implements
IMessage
Uses
TMessage
Tags
Table of Contents
Interfaces
Properties
- $bccs : array<string|int, mixed>
- $body : string|null
- The body of the message. String if it has been set, null otherwise
- $ccs : array<string|int, mixed>
- $headers : array<string|int, mixed>
- $params : stdClass
- $recipients : array<string|int, mixed>
- $reply_tos : array<string|int, mixed>
- $subject : string
- $hashCode : int
- $hashCounter : int
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- addRecipient() : mixed
- addReplyTo() : mixed
- extends() : bool
- getBccs() : array<string|int, mixed>
- {@inheritdoc}
- getBody() : string
- getCcs() : array<string|int, mixed>
- '
- getHeader() : string|null
- Gets a particular header value by a provided header name
- getHeaders() : array<string|int, mixed>
- getMessageId() : string
- Gets the Message-ID header value for this email
- getRecipients() : array<string|int, mixed>
- getReflection() : ReflectionClass
- getReplyTos() : array<string|int, mixed>
- {@inheritdoc}
- getSubject() : string
- setBody() : mixed
- setHeader() : mixed
- setSubject() : mixed
- init() : mixed
Properties
$bccs
protected
array<string|int, mixed>
$bccs
= []
$body
The body of the message. String if it has been set, null otherwise
protected
string|null
$body
= ''
$ccs
protected
array<string|int, mixed>
$ccs
= []
$headers
protected
array<string|int, mixed>
$headers
= []
$params
protected
stdClass
$params
$recipients
protected
array<string|int, mixed>
$recipients
= []
$reply_tos
protected
array<string|int, mixed>
$reply_tos
= []
$subject
protected
string
$subject
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct() : mixed
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
addRecipient()
public
addRecipient(IEmailContact $email_contact) : mixed
Parameters
- $email_contact : IEmailContact
addReplyTo()
public
addReplyTo(IEmailContact $reply_to) : mixed
Parameters
- $reply_to : IEmailContact
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolgetBccs()
{@inheritdoc}
public
getBccs() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getBody()
public
getBody() : string
Return values
stringgetCcs()
'
public
getCcs() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getHeader()
Gets a particular header value by a provided header name
public
getHeader(string $header) : string|null
Parameters
- $header : string
Return values
string|nullgetHeaders()
public
getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>getMessageId()
Gets the Message-ID header value for this email
public
getMessageId() : string
Tags
Return values
stringgetRecipients()
public
getRecipients() : array<string|int, mixed>
Return values
array<string|int, mixed>getReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassgetReplyTos()
{@inheritdoc}
public
getReplyTos() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getSubject()
public
getSubject() : string
Return values
stringsetBody()
public
setBody(string $body) : mixed
Parameters
- $body : string
setHeader()
public
setHeader(string $name, string $value) : mixed
Parameters
- $name : string
- $value : string
setSubject()
public
setSubject(string $subject) : mixed
Parameters
- $subject : string
Tags
init()
protected
init() : mixed