X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fmail.phh;h=14711661c9695986abe934d640f3eaa66d29931d;hb=03002883141b5e751650f5a28812456c2aa5f054;hp=9f6bfbfff5f0ac1d77b3f4323a904405ba837251;hpb=ea90fe3a8a0952838a454d3613952597b1e58959;p=brisk.git diff --git a/web/Obj/mail.phh b/web/Obj/mail.phh index 9f6bfbf..1471166 100644 --- a/web/Obj/mail.phh +++ b/web/Obj/mail.phh @@ -8,19 +8,21 @@ $brisk_mail_hp = array( "text_charset" => "utf-8", "eol" => "\n" ); // references: @ -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 +?>