utf-8 seems fine, but apparently the input is indeed html, not plain
svn path=/trunk/; revision=28076
This commit is contained in:
parent
7e7fc85558
commit
f8609608b4
@ -80,7 +80,7 @@ function send_mail ( $to, $from, $subject, $message, $bcc = NULL, $att = NULL, $
|
||||
|
||||
// message
|
||||
$headers .= "--".$separator.$eol;
|
||||
$headers .= "Content-Type: text/plain; charset=\"UTF-8\"".$eol;
|
||||
$headers .= "Content-Type: text/html; charset=\"UTF-8\"".$eol;
|
||||
$headers .= "Content-Transfer-Encoding: 8bit".$eol.$eol;
|
||||
$headers .= $message.$eol.$eol;
|
||||
|
||||
@ -93,7 +93,7 @@ function send_mail ( $to, $from, $subject, $message, $bcc = NULL, $att = NULL, $
|
||||
$headers .= $att_f.$eol.$eol;
|
||||
$headers .= "--".$separator."--";
|
||||
} else {
|
||||
$headers .= "Content-Type: text/plain; charset=UTF-8\r\n";
|
||||
$headers .= "Content-Type: text/html; charset=UTF-8\r\n";
|
||||
}
|
||||
|
||||
return mail( $to, $subject, $message, $headers );
|
||||
|
Loading…
Reference in New Issue
Block a user