BUGFIX: fixed previous commit about sending mail in utf-8
authorArun Persaud <arun@nubati.net>
Sun, 20 Jan 2013 17:02:58 +0000 (09:02 -0800)
committerArun Persaud <arun@nubati.net>
Sun, 20 Jan 2013 17:02:58 +0000 (09:02 -0800)
include/functions.php

index 47e8089..191823d 100644 (file)
@@ -218,9 +218,9 @@ function sendmail($To,$Subject,$message)
   if(isset($EMAIL_REPLY))
     $header .= "From: e-DoKo daemon <$EMAIL_REPLY>\r\n";
 
-  $headers .= "Content-Type: text/plain; charset = \"UTF-8\";\r\n";
-  $headers .= "Content-Transfer-Encoding: 8bit\r\n";
-  $headers .= "\r\n";
+  $header .= "Content-Type: text/plain; charset = \"UTF-8\";\r\n";
+  $header .= "Content-Transfer-Encoding: 8bit\r\n";
+  $header .= "\r\n";
 
   if($debug)
     {