commit | 0aba836fda4ef02b110c4fdd498b953adb597737 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Mar 09 20:39:47 2023 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Apr 26 14:12:06 2023 +0200 |
tree | edf87b6ac594ef97fd7f6893b2d1fa868efacc79 | |
parent | 87a14314da59faeb2b612dc561fbb76425a56a73 [diff] [blame] |
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);