forked from science-ation/science-ation
Dont override the mail encoding as utf-8 - we now store it in the db as ISO, so just use that (the default)
This commit is contained in:
parent
a42e042bcc
commit
3442c2347d
@ -974,8 +974,6 @@ function email_send_new($to,$from,$subject,$body,$bodyhtml="") {
|
|||||||
$mail->setFrom($from);
|
$mail->setFrom($from);
|
||||||
$mail->setSubject($subject);
|
$mail->setSubject($subject);
|
||||||
$mail->setText($body);
|
$mail->setText($body);
|
||||||
$mail->setTextCharset("utf-8");
|
|
||||||
$mail->setHTMLCharset("utf-8");
|
|
||||||
|
|
||||||
//only add the html if we have it
|
//only add the html if we have it
|
||||||
if($bodyhtml) {
|
if($bodyhtml) {
|
||||||
|
Loading…
Reference in New Issue
Block a user