From 618cb0d8dde52c2c8a181334e7a3c33fbc26c236 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 10 Sep 2010 09:22:54 -0400
Subject: [PATCH] - Don't trim spaces from the end of line when converting to format=flowed

---
 program/lib/Net/SMTP.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/lib/Net/SMTP.php b/program/lib/Net/SMTP.php
index f5a6254..0602e10 100644
--- a/program/lib/Net/SMTP.php
+++ b/program/lib/Net/SMTP.php
@@ -952,7 +952,7 @@
 
         /* If we have a separate headers string, send it first. */
         if (!is_null($headers)) {
-            $this->quotedata($line);
+            $this->quotedata($headers);
             if (PEAR::isError($result = $this->_send($headers . "\r\n\r\n"))) {
                 return $result;
             }

--
Gitblit v1.9.1