add more logout reasons to be pushed in the ghost_session management
[brisk.git] / web / Obj / mail.phh
index 9f6bfbf..1471166 100644 (file)
@@ -8,19 +8,21 @@ $brisk_mail_hp = array( "text_charset"  => "utf-8",
                         "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();
@@ -32,4 +34,4 @@ function brisk_mail($to, $subject, $text, $html, $refs)
 
     return TRUE;
 }
-?>
\ No newline at end of file
+?>