summaryrefslogtreecommitdiffstats
path: root/system/libraries/Email.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Email.php')
-rw-r--r--system/libraries/Email.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index d01d5c197..10cbc346d 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -6,7 +6,7 @@
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
- * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
+ * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc.
* @license http://codeigniter.com/user_guide/license.html
* @link http://codeigniter.com
* @since Version 1.0
@@ -1032,7 +1032,7 @@ class CI_Email {
if ($this->_get_protocol() == 'mail')
{
- $this->_header_str .= $hdr;
+ $this->_header_str .= rtrim($hdr);
$this->_finalbody = $this->_body;
}
else
@@ -1070,7 +1070,7 @@ class CI_Email {
if ($this->_get_protocol() == 'mail')
{
- $this->_header_str .= $hdr;
+ $this->_header_str .= rtrim($hdr);
}
else
{
@@ -1092,7 +1092,7 @@ class CI_Email {
if ($this->_get_protocol() == 'mail')
{
- $this->_header_str .= $hdr;
+ $this->_header_str .= rtrim($hdr);
}
$body .= $this->_get_mime_message() . $this->newline . $this->newline;
@@ -1110,7 +1110,7 @@ class CI_Email {
if ($this->_get_protocol() == 'mail')
{
- $this->_header_str .= $hdr;
+ $this->_header_str .= rtrim($hdr);
}
$body .= $this->_get_mime_message() . $this->newline . $this->newline;