private function buildAttachmentBody($attachment)
    {
        return sprintf('%s%s%s%s%s%s',
            '--MIME_boundary'.self::CRLF,
            'Content-Type: '.$attachment['mimeType'].self::CRLF,
            'Content-Transfer-Encoding: binary'.self::CRLF,
            'Content-ID: <attachment.bin@devbay.net>'.self::CRLF.self::CRLF,
            $attachment['data'].self::CRLF,
            '--MIME_boundary--'
        );
    }
private function buildAttachmentBody($attachment)
    {
        return sprintf('%s%s%s%s%s%s',
            '--MIME_boundary'.self::CRLF,
            'Content-Type: '.$attachment['mimeType'].self::CRLF,
            'Content-Transfer-Encoding: binary'.self::CRLF,
            'Content-ID: <attachment.bin@devbay.net>'.self::CRLF.self::CRLF,
            $attachment['data'].self::CRLF,
            '--MIME_boundary--'
        );
    }
private function buildAttachmentBody ( $ attachment ) { return sprintf ( '%s%s%s%s%s%s' , '--MIME_boundary' . self :: CRLF , 'Content-Type: ' . $ attachment [ 'mimeType' ] . self :: CRLF , 'Content-Transfer-Encoding: binary' . self :: CRLF , 'Content-ID: <attachment.bin@devbay.net>' . self :: CRLF . self :: CRLF , $ attachment [ 'data' ] . self :: CRLF , '--MIME_boundary--' ) ; }
Builds the attachment part of the request body string.

@param array $attachment The attachement

@return string The attachment part of request body.
Builds the attachment part of the request body string .