From 1d9a096376063ab7355ddb35a0170e1b64a19698 Mon Sep 17 00:00:00 2001 From: phpnut Date: Fri, 4 Apr 2008 11:46:09 +0000 Subject: [PATCH] "Fixes #4427, Current protected attribute Email::_newLine renders Email Component unusable for SMTP. Original change to EmailComponent:_newLine reverted, related bug has been fixed elsewhere in the code." git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6632 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/controller/components/email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/controller/components/email.php b/cake/libs/controller/components/email.php index 6013d2a51..7f44cb1cc 100644 --- a/cake/libs/controller/components/email.php +++ b/cake/libs/controller/components/email.php @@ -230,7 +230,7 @@ class EmailComponent extends Object{ * @var string * @access protected */ - var $_newLine = "\n"; + var $_newLine = "\r\n"; /** * Enter description here... *