function GetMessageBody($msgnum, $prefer_html = true)
	{
		if ($prefer_html)
		{
			$body = $this->GetPart($msgnum, "TEXT/HTML");
			$body = $body ? $body : $this->GetPart($msgnum, "TEXT/PLAIN");
		}
		else
		{
			$body = $this->GetPart($msgnum, "TEXT/PLAIN");
			$body = $body ? $body : $this->GetPart($msgnum, "TEXT/HTML");
		}
		
		return $body;
	}
function GetMessageBody($msgnum, $prefer_html = true)
	{
		if ($prefer_html)
		{
			$body = $this->GetPart($msgnum, "TEXT/HTML");
			$body = $body ? $body : $this->GetPart($msgnum, "TEXT/PLAIN");
		}
		else
		{
			$body = $this->GetPart($msgnum, "TEXT/PLAIN");
			$body = $body ? $body : $this->GetPart($msgnum, "TEXT/HTML");
		}
		
		return $body;
	}
function GetMessageBody ( $ msgnum , $ prefer_html = true ) { if ( $ prefer_html ) { $ body = $ this -> GetPart ( $ msgnum , "TEXT/HTML" ) ; $ body = $ body ? $ body : $ this -> GetPart ( $ msgnum , "TEXT/PLAIN" ) ; } else { $ body = $ this -> GetPart ( $ msgnum , "TEXT/PLAIN" ) ; $ body = $ body ? $ body : $ this -> GetPart ( $ msgnum , "TEXT/HTML" ) ; } return $ body ; }
Returns what is best determined to be the body text of the messages

@param int $msgnum Message number in the mailbox
@param bool $prefer_html If an html version is provided, return that
@return string The contents of the message body
Returns what is best determined to be the body text of the messages