From cc2c83378cd4c284eed33d13e0ed4705682f26e9 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 08 Mar 2010 02:13:09 -0500
Subject: [PATCH] - Net_SMTP 1.4.2 with fix for #1486537
---
INSTALL | 2 +-
program/lib/Net/SMTP.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/INSTALL b/INSTALL
index eac85e7..0286beb 100644
--- a/INSTALL
+++ b/INSTALL
@@ -18,7 +18,7 @@
* PEAR packages distributed with Roundcube or external:
- MDB2 2.5.0 or newer
- Mail_Mime 1.6.0 or newer
- - Net_SMTP 1.4.1 or newer
+ - Net_SMTP 1.4.2 or newer
* php.ini options (see .htaccess file):
- error_reporting E_ALL & ~E_NOTICE (or lower)
- memory_limit > 16MB (increase as suitable to support large attachments)
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