HumHub Documentation (unofficial)

MessageHeader
in package

FinalYes

Contains the name and value of a message header that you add to an email.

Table of Contents

Properties

$name  : string
The name of the message header. The message header name has to meet the following criteria:
$value  : string
The value of the message header. The message header value has to meet the following criteria:

Methods

__construct()  : mixed
create()  : self
getName()  : string
getValue()  : string
throwException()  : never

Properties

$name

The name of the message header. The message header name has to meet the following criteria:

private string $name
  • Can contain any printable ASCII character (33 - 126) except for colon (:).
  • Can contain no more than 126 characters.

$value

The value of the message header. The message header value has to meet the following criteria:

private string $value
  • Can contain any printable ASCII character.
  • Can contain no more than 870 characters.

Methods

__construct()

public __construct(array{Name: string, Value: string} $input) : mixed
Parameters
$input : array{Name: string, Value: string}

throwException()

private throwException(Throwable $exception) : never
Parameters
$exception : Throwable
Return values
never

        
On this page

Search results