    MIME :: array message ( string content [, string type [, string name [, string charset [, string encoding [, string disposition [, string id [, integer line_length [, string line_end ]]]]]]]] )

    Return ARRAY ('header' => string value, 'content' => string value).

    Default values are:
    string type: application/octet-stream
    string charset: us-ascii
    string encoding: quoted-printable
    string disposition: inline
    integer line_length: 73
    string line_end: CRLF [\r\n]

    string encoding possible values are: binary, 7bit, 8bit, quoted-printable or base64
    string disposition possible values are: attachment or inline

    Example:

    // text/plain message
    $mess = MIME::message('Text message', 'text/plain');

    // print result
    print_r($mess);

    See Also: MIME::compose(), FUNC::mime_type()

    [ Comments ]

    Last update: Friday, September 21, 2007