fixes #4902, email smtp headers

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7180 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2008-06-13 18:03:47 +00:00
parent e9daddddf3
commit 2999b7f15d

View file

@ -596,7 +596,7 @@ class EmailComponent extends Object{
if (strtolower($this->charset) !== 'iso-8859-15') {
$start = "=?" . $this->charset . "?B?";
$end = "?=";
$spacer = $end . "\n " . $start;
$spacer = $end . $this->_newLine . $start;
$length = 75 - strlen($start) - strlen($end);
$length = $length - ($length % 4);