Mail_mimePart::Mail_mimePart()

Mail_mimePart::Mail_mimePart() – constructor

Synopsis

require_once 'Mail/mimePart.php';

Mail_mimePart Mail_mimePart ( string $body = '' , array $params = array() )

Description

Create a new Mail_mimePart object.

Parameter

  • string $body - The body of the mime part if any. Default is an empty string.

  • array $params - An associative array of parameters:

    • $params["content_type"] - The content type for this part ie. multipart/mixed

    • $params["encoding"] - The encoding to use ie. 7bit , 8bit , base64 or quoted-printable

    • $params["cid"] - content ID to apply

    • $params["disposition"] - Content disposition inline or attachment

    • $params["dfilename"] - Optional filename parameter for content disposition

    • $params["description"] - Content description

    • $params["charset"] - Character set to use

    Default is an empty array.

Note

This function can be called statically.

encode header value (Previous) add sub part to a MIME part (Next)
Last updated: Sun, 19 Dec 2010 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.