Documentation

Swift_Mime_Headers_OpenDKIMHeader
in package
implements Swift_Mime_Header

An OpenDKIM Specific Header using only raw header datas without encoding.

Tags
author

De Cock Xavier xdecock@gmail.com

deprecated

since SwiftMailer 6.1.0; use Swift_Signers_DKIMSigner instead.

Interfaces, Classes and Traits

Swift_Mime_Header
A MIME Header.

Table of Contents

$fieldName  : string
The name of this Header.
$value  : string
The value of this Header.
__construct()  : mixed
getFieldBody()  : string
Get the value of this header prepared for rendering.
getFieldBodyModel()  : string
Get the model for the field body.
getFieldName()  : string
Set the Header FieldName.
getFieldType()  : int
Get the type of Header that this instance represents.
getValue()  : string
Get the (unencoded) value of this header.
setCharset()  : mixed
Ignored.
setFieldBodyModel()  : mixed
Set the model for the field body.
setValue()  : mixed
Set the (unencoded) value of this header.
toString()  : string
Get this Header rendered as a RFC 2822 compliant string.

Properties

Methods

__construct()

public __construct(string $name) : mixed
Parameters
$name : string
Return values
mixed

getFieldBody()

Get the value of this header prepared for rendering.

public getFieldBody() : string
Return values
string

getFieldBodyModel()

Get the model for the field body.

public getFieldBodyModel() : string

This method returns a string.

Return values
string

getFieldType()

Get the type of Header that this instance represents.

public getFieldType() : int
Tags
see

TYPE_TEXT, TYPE_PARAMETERIZED, TYPE_MAILBOX

see

TYPE_DATE, TYPE_ID, TYPE_PATH

Return values
int

getValue()

Get the (unencoded) value of this header.

public getValue() : string
Return values
string

setCharset()

Ignored.

public setCharset(mixed $charset) : mixed
Parameters
$charset : mixed
Return values
mixed

setFieldBodyModel()

Set the model for the field body.

public setFieldBodyModel(string $model) : mixed

This method takes a string for the field value.

Parameters
$model : string
Return values
mixed

setValue()

Set the (unencoded) value of this header.

public setValue(string $value) : mixed
Parameters
$value : string
Return values
mixed

toString()

Get this Header rendered as a RFC 2822 compliant string.

public toString() : string
Return values
string

Search results