"eol" => "\n" );
// references: <alfanum-8-chars>@<domain>
-function brisk_mail($to, $subject, $text, $html, $refs)
+function brisk_mail($to, $subject, $text, $html)
{
GLOBAL $brisk_mail_hp, $G_admin_mail;
$hdrs = array(
'From' => $G_admin_mail,
- 'Subject' => $subject,
- 'References' => $refs
+ 'Subject' => $subject
);
+ // if ($refs != Null)
+ // $hdrs['References'] = $refs;
$mime = new Mail_mime($brisk_mail_hp);
- $mime->setTXTBody($text);
+ // disabled to avoid client problems
+ // $mime->setTXTBody($text);
$mime->setHTMLBody($html);
$body = $mime->get();
return TRUE;
}
-?>
\ No newline at end of file
+?>