HumHub Documentation (unofficial)

Body
in package

FinalYes

Represents the body of the email message.

Table of Contents

Properties

$html  : Content|null
An object that represents the version of the message that is displayed in email clients that support HTML. HTML messages can include formatted text, hyperlinks, images, and more.
$text  : Content|null
An object that represents the version of the message that is displayed in email clients that don't support HTML, or clients where the recipient has disabled HTML rendering.

Methods

__construct()  : mixed
create()  : self
getHtml()  : Content|null
getText()  : Content|null

Properties

$html

An object that represents the version of the message that is displayed in email clients that support HTML. HTML messages can include formatted text, hyperlinks, images, and more.

private Content|null $html

$text

An object that represents the version of the message that is displayed in email clients that don't support HTML, or clients where the recipient has disabled HTML rendering.

private Content|null $text

Methods

__construct()

public __construct(Content|array} $input) : mixed
Parameters
$input : Content|array}

create()

public static create(Content|array}|Body $input) : self
Parameters
$input : Content|array}|Body
Return values
self

        
On this page

Search results