Oihana PHP Enums

MimeHeaderTrait

MIME header field names (RFC 2045, RFC 2046, RFC 3282).

Mixed into MailHeader.

Tags
author

Marc Alcaraz

since
1.2.0
see
MediaType

For Content-Type values.

ContentTransferEncoding

For Content-Transfer-Encoding values.

ContentDisposition

For Content-Disposition values.

Table of Contents

Constants

CONTENT_DESCRIPTION  : string = 'Content-Description'
`Content-Description` — Human-readable description of a body part.
CONTENT_DISPOSITION  : string = 'Content-Disposition'
`Content-Disposition` — Presentation of a part (`inline` / `attachment`).
CONTENT_ID  : string = 'Content-ID'
`Content-ID` — Unique identifier of a body part (for `cid:` references).
CONTENT_LANGUAGE  : string = 'Content-Language'
`Content-Language` — Natural language(s) of the content (RFC 3282).
CONTENT_LOCATION  : string = 'Content-Location'
`Content-Location` — URI for the content of a part (RFC 2557).
CONTENT_TRANSFER_ENCODING  : string = 'Content-Transfer-Encoding'
`Content-Transfer-Encoding` — Encoding applied to the body (`base64`, `quoted-printable`, …).
CONTENT_TYPE  : string = 'Content-Type'
`Content-Type` — Media type of the body / part (e.g. `text/html; charset=utf-8`).
MIME_VERSION  : string = 'MIME-Version'
`MIME-Version` — Declares the MIME version used (always `1.0`).

Constants

CONTENT_DESCRIPTION

`Content-Description` — Human-readable description of a body part.

public string CONTENT_DESCRIPTION = 'Content-Description'

CONTENT_DISPOSITION

`Content-Disposition` — Presentation of a part (`inline` / `attachment`).

public string CONTENT_DISPOSITION = 'Content-Disposition'

CONTENT_ID

`Content-ID` — Unique identifier of a body part (for `cid:` references).

public string CONTENT_ID = 'Content-ID'

CONTENT_LANGUAGE

`Content-Language` — Natural language(s) of the content (RFC 3282).

public string CONTENT_LANGUAGE = 'Content-Language'

CONTENT_LOCATION

`Content-Location` — URI for the content of a part (RFC 2557).

public string CONTENT_LOCATION = 'Content-Location'

CONTENT_TRANSFER_ENCODING

`Content-Transfer-Encoding` — Encoding applied to the body (`base64`, `quoted-printable`, …).

public string CONTENT_TRANSFER_ENCODING = 'Content-Transfer-Encoding'

CONTENT_TYPE

`Content-Type` — Media type of the body / part (e.g. `text/html; charset=utf-8`).

public string CONTENT_TYPE = 'Content-Type'

MIME_VERSION

`MIME-Version` — Declares the MIME version used (always `1.0`).

public string MIME_VERSION = 'MIME-Version'
On this page

Search results