Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Headers.php

Headers::HEADER_CLASS_MAP

File

vendor/symfony/mime/Header/Headers.php, line 28

Class

Headers
A collection of headers.

Namespace

Symfony\Component\Mime\Header

Code

private const HEADER_CLASS_MAP = [
    'date' => DateHeader::class,
    'from' => MailboxListHeader::class,
    'sender' => MailboxHeader::class,
    'reply-to' => MailboxListHeader::class,
    'to' => MailboxListHeader::class,
    'cc' => MailboxListHeader::class,
    'bcc' => MailboxListHeader::class,
    'message-id' => IdentificationHeader::class,
    'in-reply-to' => [
        UnstructuredHeader::class,
        IdentificationHeader::class,
    ],
    // `In-Reply-To` and `References` are less strict than RFC 2822 (3.6.4) to allow users entering the original email's ...
'references' => [
        UnstructuredHeader::class,
        IdentificationHeader::class,
    ],
    // ... `Message-ID`, even if that is no valid `msg-id`
'return-path' => PathHeader::class,
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal