mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 22:45:57 +00:00
mailer: set utf-8 content type
This commit is contained in:
@@ -37,7 +37,7 @@ class Mailer {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$headers[] = "From: $from_combined";
|
$headers = [ "From: $from_combined", "Content-Type: text/plain; charset=UTF-8" ];
|
||||||
|
|
||||||
return mail($to_combined, $subject, $message, implode("\r\n", array_merge($headers, $additional_headers)));
|
return mail($to_combined, $subject, $message, implode("\r\n", array_merge($headers, $additional_headers)));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user