Headers::HEADER_CLASS_MAP
File
-
vendor/
symfony/ mime/ Header/ Headers.php, line 28
Class
- Headers
- A collection of headers.
Namespace
Symfony\Component\Mime\HeaderCode
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,
];