]> git.mjollnir.org Git - moodle.git/commitdiff
A small fix for mail boundary headers that may have been breaking some
authormoodler <moodler>
Thu, 7 Aug 2003 11:42:12 +0000 (11:42 +0000)
committermoodler <moodler>
Thu, 7 Aug 2003 11:42:12 +0000 (11:42 +0000)
mail programs (notably Exchange).

lib/phpmailer/class.phpmailer.php

index d6fcfe9d5b943d5ea8fd57812ac9a3bbeb98fc49..b423a3c0676f66048af5963d6a9b1a5426c6707e 100644 (file)
@@ -934,7 +934,7 @@ class PHPMailer
         if($encoding == "") { $encoding = $this->Encoding; }
 
         $result .= $this->TextLine("--" . $boundary);
-        $result .= sprintf("Content-Type: %s; charset = \"%s\"", 
+        $result .= sprintf("Content-Type: %s; charset = \"%s\"\n", 
                             $contentType, $charSet);
         $result .= $this->HeaderLine("Content-Transfer-Encoding", $encoding);
         $result .= $this->LE;