PhpMail::MAILBOX_LIST_HEADERS

Same name in other branches
  1. 9 core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php \Drupal\Core\Mail\Plugin\Mail\PhpMail::MAILBOX_LIST_HEADERS
  2. 10 core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php \Drupal\Core\Mail\Plugin\Mail\PhpMail::MAILBOX_LIST_HEADERS

A list of headers that can contain multiple email addresses.

See also

\Symfony\Component\Mime\Header\Headers::HEADER_CLASS_MAP

File

core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php, line 30

Class

PhpMail
Defines the default Drupal mail backend, using PHP's native mail() function.

Namespace

Drupal\Core\Mail\Plugin\Mail

Code

private const MAILBOX_LIST_HEADERS = [
    'from',
    'to',
    'reply-to',
    'cc',
    'bcc',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.