From 5f14e170293221cec61b990abf1c608b1b374c7b Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 7 Aug 2003 11:42:12 +0000 Subject: [PATCH] A small fix for mail boundary headers that may have been breaking some mail programs (notably Exchange). --- lib/phpmailer/class.phpmailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/phpmailer/class.phpmailer.php b/lib/phpmailer/class.phpmailer.php index d6fcfe9d5b..b423a3c067 100644 --- a/lib/phpmailer/class.phpmailer.php +++ b/lib/phpmailer/class.phpmailer.php @@ -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; -- 2.39.5