src/Mail/mime.php
function getMessage($separation = null, $params = null, $headers = null,
        $overwrite = false
    ) {
        if ($separation === null) {
            $separation = $this->_build_params['eol'];
        }

        $body = $this->get($params);

        if ($this->_isError($body)) {
            return $body;
        }

        return $this->txtHeaders($headers, $overwrite) . $separation . $body;
    }
function getMessage($separation = null, $params = null, $headers = null,
        $overwrite = false
    ) {
        if ($separation === null) {
            $separation = $this->_build_params['eol'];
        }

        $body = $this->get($params);

        if ($this->_isError($body)) {
            return $body;
        }

        return $this->txtHeaders($headers, $overwrite) . $separation . $body;
    }
Returns the complete e-mail, ready to send using an alternative
mail delivery method. Note that only the mailpart that is made
with Mail_Mime is created. This means that,
YOU WILL HAVE NO TO: HEADERS UNLESS YOU SET IT YOURSELF
using the $headers parameter!

@param string $separation The separation between these two parts.
@param array  $params     The Build parameters passed to the
get() function. See get() for more info.
@param array  $headers    The extra headers that should be passed
to the headers() method.
See that function for more info.
@param bool   $overwrite  Overwrite the existing headers with new.

@return mixed The complete e-mail or PEAR error object
@access public