diff options
Diffstat (limited to 'classes/mailer.php')
-rw-r--r-- | classes/mailer.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/classes/mailer.php b/classes/mailer.php index a15c8546b..60b1ce4fd 100644 --- a/classes/mailer.php +++ b/classes/mailer.php @@ -45,14 +45,7 @@ class Mailer { ++$hooks_tried; } - $headers = [ "From: $from_combined" ]; - - if ($message_html) { - $headers[] = "MIME-Version: 1.0"; - $headers[] = "Content-Type: text/html; charset=UTF-8"; - } else { - $headers[] = "Content-Type: text/plain; charset=UTF-8"; - } + $headers = [ "From: $from_combined", "Content-Type: text/plain; charset=UTF-8" ]; $rc = mail($to_combined, $subject, $message, implode("\r\n", array_merge($headers, $additional_headers))); |