projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wrong passed arguments to brisk reload() method
[brisk.git]
/
web
/
Obj
/
mail.phh
diff --git
a/web/Obj/mail.phh
b/web/Obj/mail.phh
index
9f6bfbf
..
1471166
100644
(file)
--- 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: <alfanum-8-chars>@<domain>
"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,
{
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 = new Mail_mime($brisk_mail_hp);
- $mime->setTXTBody($text);
+ // disabled to avoid client problems
+ // $mime->setTXTBody($text);
$mime->setHTMLBody($html);
$body = $mime->get();
$mime->setHTMLBody($html);
$body = $mime->get();
@@
-32,4
+34,4
@@
function brisk_mail($to, $subject, $text, $html, $refs)
return TRUE;
}
return TRUE;
}
-?>
\ No newline at end of file
+?>