public property HTMLMailMime::$buildParams in HTML Mail 8
Same name and namespace in other branches
- 8.3 src/Utility/HtmlMailMime.php \Drupal\htmlmail\Utility\HtmlMailMime::buildParams
Holds parameters used for building the formatted message.
An associative array of parameters containing the following:
- head_encoding: The encoding to use for headers. May be:
- base64:
- quoted-printable: (default)
- text_encoding: The encoding to use for the text/plain part. May be:
- 7bit:
- 8bit:
- base64:
- quoted-printable: (default)
- html_encoding: The encoding to use for the text/html part. May be:
- 7bit:
- 8bit:
- base64:
- quoted-printable: (default)
- html_charset: The character set to use for the text/html part. Defaults to 'UTF-8'.
- text_charset: The character set to use for the text/plain part. Defaults to 'UTF-8'.
- head_charset: The character set to use for the header values. Defaults to 'UTF-8'.
- eol: The end-of-line or line-ending sequence. Defaults to an auto- detected value depending on the server operating system. May be overridden by setting $config['mail_line_endings'].
- delay_file_io: FALSE if attached files should be read immediately, rather than when the message is built. Defaults to TRUE.
Type: array
File
- src/
Utility/ HTMLMailMime.php, line 82 - Provides the MailMIME class for creating MIME-formatted email messages.
Class
- HTMLMailMime
- Class HTMLMailMime.
Namespace
Drupal\htmlmail\UtilityCode
public $buildParams = [
'head_encoding' => 'quoted-printable',
'text_encoding' => '8bit',
'html_encoding' => '8bit',
'html_charset' => 'UTF-8',
'text_charset' => 'UTF-8',
'head_charset' => 'UTF-8',
'eol' => NULL,
'delay_file_io' => TRUE,
];