mailer: set utf-8 content type

This commit is contained in:
Andrew Dolgov 2018-12-17 11:55:21 +03:00
parent 8effabd075
commit 59d1fd481d
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class Mailer {
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)));
}