Solar_Mail_Message::fetchContent()
Fetches all the content parts of this message as a string.
Parameters
None.
Returns
(string)
Description
Fetches all the content parts of this message as a string.
See notes here: » http://www.webcheatsheet.com/php/send_email_text_html_attachment.php#attachment
If we have text and html, and attachments, the text and html are wrapped in their own multipart/alternative subpart, then the message as a whole is built as multipart/mixed.
If we have text or html, and attachments, we build as multipart/mixed.
If we have text or html, no attachments, we build as a single part.
If we have only attachments, we build as a single part if there's one attachment, or as multipart/mixed if there are more than one.