Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb1875d
)
email(): explicit text/plain;charset=UTF-8
author
Jason Woofenden
<jason@jasonwoof.com>
Tue, 25 Sep 2012 12:44:54 +0000
(08:44 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Tue, 25 Sep 2012 12:44:54 +0000
(08:44 -0400)
email.php
patch
|
blob
|
history
diff --git
a/email.php
b/email.php
index
c7ae44f
..
1af8f92
100644
(file)
--- a/
email.php
+++ b/
email.php
@@
-53,9
+53,8
@@
function email($from, $to, $subject, $message, $reply_to = '', $cc = '', $bcc =
if($bcc) {
$headers .= "\r\nBCC: $bcc";
}
- #header('Content-Type: text/plain');
- #print_r(array($to, $subject, $message, $headers));
- #exit();
+ $headers .= "\r\nContent-type: text/plain; charset=UTF-8";
+
if(mail($to, $subject, $message, $headers)) {
return 0;
} else {