<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SoliTech GmbH &#187; RC1</title>
	<atom:link href="http://www.solitechgmbh.com/tag/rc1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.solitechgmbh.com</link>
	<description>Connecting businesses to people through effective online marketing strategy</description>
	<lastBuildDate>Thu, 13 May 2010 19:14:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to fix the CakePHP 1.2 RC1 Email sender problem</title>
		<link>http://www.solitechgmbh.com/2008/07/02/how-to-fix-the-cakephp-12-rc1-email-sender-problem/</link>
		<comments>http://www.solitechgmbh.com/2008/07/02/how-to-fix-the-cakephp-12-rc1-email-sender-problem/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 19:34:05 +0000</pubDate>
		<dc:creator>Gyuri</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[RC1]]></category>

		<guid isPermaLink="false">http://www.gyuropia.com/?p=43</guid>
		<description><![CDATA[After I upgraded from CakePHP 1.2 to the new CakePHP 1.2 RC1 my emails started to show all the header information instead of just the relevant message. After a LONG time of searching the web, I have not found an answer so I started to investigate my self. I started to look at the Email ...<br /><a href="http://www.solitechgmbh.com/2008/07/02/how-to-fix-the-cakephp-12-rc1-email-sender-problem/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p>After I upgraded from CakePHP 1.2 to the new CakePHP 1.2 RC1 my emails started to show all the header information instead of just the relevant message.</p>
<p>After a LONG time of searching the web, I have not found an answer so I started to investigate my self.</p>
<p>I started to look at the Email component and didn&#8217;t see any changes that should make a difference until I got to the $_newLine variable.</p>
<p>It used to be $_newLine = &#8220;\n&#8221;; but now it is $_newLine = &#8220;\r\n&#8221;; which apparently does not get interpreted by Gmail well. I don&#8217;t know how other email services behave, I just tested with Gmail.</p>
<p>So to fix this issue you want to add this line when you are assembling an email anywhere before the send call.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Email</span><span style="color: #339933;">-&gt;</span>_newLine <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p>This will over ride the faulty default setting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.solitechgmbh.com/2008/07/02/how-to-fix-the-cakephp-12-rc1-email-sender-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
