public function formatAndSendEmail($template,$data,$email,$from,
		$replyto='',$ccemail='',$bccemail='',$outtemplate = null,$textemail=false) {
		
		$this->logQ($this->formatoptions['locale'],'formatter');
		
		$formatter = new EmailFormat($this->formatoptions);
		
		$templatedata = $formatter->fetchTemplate($template,$data,$outtemplate);
		
		return $this->sendEmail(
			$email,
			$templatedata['subject'],
			$templatedata['body'],
			$from,
			$replyto,
			$ccemail,
			$bccemail,
			$textemail);
	}