From acbf0f5ee09ec7832c2747d98c94091c6dcd0a8a Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 15 Sep 2010 08:15:01 -0400
Subject: [PATCH] - Fix: iconv doesn't support UTF7-IMAP

---
 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