$template = new HTML_Template_Flexy($this->flexyOptions);
$page = new stdClass();
// for comments textarea need to replace newlines with br
- $this->formData['comments']['element']
- = nl2br($this->getSubmitValue('comments'));
$userEmail = $this->getSubmitValue('email');
$page->email_from = OWNER_EMAIL;
$mail =& Mail::factory($mailFactory);
$body = $mimeMail->get();
- $headers = $mimeMail->headers($setHeader);
$res = $mail->send($this->email, $headers, $body);
if (PEAR::isError($res)) {