public function getHtmlOrText()
	{
		if ($template = $this->getTemplate ()) {
			if (!isset ($this->isHTML))
				$this->setIsHTML(true);
			return $template->parse ();
		} else if ($body = $this->getBody ()) {
			$this->setIsHTML(true);
			return $body;
		} else if ($text = $this->getText ()) {
			$this->setIsHTML(false);
			return $text;
		}

		$this->setIsHTML(false);
		return 'No body set.';
	}