You are here

function swiftmailer_get_supressable_headers in Swift Mailer 8

Same name and namespace in other branches
  1. 8.2 includes/helpers/utilities.inc \swiftmailer_get_supressable_headers()
  2. 7 includes/helpers/utilities.inc \swiftmailer_get_supressable_headers()

Returns a list of supressable e-mail headers.

The returned e-mail headers could be provided by Drupal, but should be ignored in order to make Swift Mailer work as smooth as possible.

Return value

array A list of e-mail headers which could be provided by Drupal, but which should be ignored.

1 call to swiftmailer_get_supressable_headers()
SwiftMailer::mail in src/Plugin/Mail/SwiftMailer.php
Sends a message composed by drupal_mail().

File

includes/helpers/utilities.inc, line 117
This file contains general utility functions.

Code

function swiftmailer_get_supressable_headers() {
  return [
    'Content-Transfer-Encoding',
  ];
}