You are here

public property MailMIME::$_build_params in Mail MIME 7

Same name and namespace in other branches
  1. 8.2 mailmime.inc \MailMIME::_build_params
  2. 6.2 mailmime.inc \MailMIME::_build_params
  3. 6 mailmime.inc \MailMIME::_build_params
  4. 7.2 mailmime.inc \MailMIME::_build_params

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

./mailmime.inc, line 80
Provides the MailMIME class for creating MIME-formatted email messages.

Class

MailMIME
The MailMIME class is used to create MIME email messages.

Code

public $_build_params = array(
  'head_encoding' => 'quoted-printable',
  'text_encoding' => '8bit',
  'html_encoding' => '8bit',
  'html_charset' => 'UTF-8',
  'text_charset' => 'UTF-8',
  'head_charset' => 'UTF-8',
  'eol' => MAIL_MIME_CRLF,
  'delay_file_io' => TRUE,
);