commit | c2bfd61e94d7032f849cd48d4e22dece20021e4d | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Mar 09 20:39:47 2023 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Mar 09 20:39:47 2023 +0100 |
tree | eb84d397faf9f3b49c675aeb276d831f5b3a9b21 | |
parent | 145f5b97723b0d7f59932a18368460b70fe2a7e9 [diff] |
Send utf-8 mails Change-Id: I8324d9d708e600f350038eaa3e385e3ee4bd5c97
diff --git a/mail.php b/mail.php index 1432a26..c0f3251 100755 --- a/mail.php +++ b/mail.php
@@ -32,7 +32,11 @@ )); // Creating the Mime message - $mime = new Mail_mime($crlf); + $mime = new Mail_mime(array( + "text_charset" => "utf-8", + "html_charset" => "utf-8", + "eol" => $crlf + )); // Setting the body of the email $mime->setTXTBody($message->text);