You are here

function swiftmailer_get_supressable_headers in Swift Mailer 7

Same name and namespace in other branches
  1. 8.2 includes/helpers/utilities.inc \swiftmailer_get_supressable_headers()
  2. 8 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()
SWIFTMailSystem::mail in includes/classes/SWIFTMailSystem.inc
Sends a message composed by drupal_mail().

File

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

Code

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