class Message implements MessageInterface (View source)

Implementation of MessageInterface where only getFrom() and getSubject() is required to be implemented.

Properties

protected string $to
protected string $html
protected string $text

Methods

__construct(IdentityInterface|string $to)

No description

getTo()

No description

setHtml(string $html)

No description

setText(string $text)

No description

string
getHtml()

No description

string
getText()

No description

array
getHeaders()

No description

string
getReplyTo()

No description

getCc()

No description

IdentityInterface[]|$string
getBcc()

No description

Details

__construct(IdentityInterface|string $to)

Parameters

IdentityInterface|string $to

IdentityInterface[]|string getTo()

Return Value

IdentityInterface[]|string

setHtml(string $html)

Parameters

string $html

setText(string $text)

Parameters

string $text

Exceptions

InvalidArgumentException

string getHtml()

Return Value

string

string getText()

Return Value

string

array getHeaders()

Return Value

array

string getReplyTo()

Return Value

string

IdentityInterface[]|string getCc()

Return Value

IdentityInterface[]|string

IdentityInterface[]|$string getBcc()

Return Value

IdentityInterface[]|$string