<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: PHP Mail Class</title>
	<atom:link href="http://www.zacharyfox.com/blog/php/simple-mail-class/feed" rel="self" type="application/rss+xml" />
	<link>http://www.zacharyfox.com/blog/php/simple-mail-class</link>
	<description></description>
	<pubDate>Tue, 06 Jan 2009 05:31:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Zachary Fox</title>
		<link>http://www.zacharyfox.com/blog/php/simple-mail-class#comment-396</link>
		<dc:creator>Zachary Fox</dc:creator>
		<pubDate>Thu, 13 Mar 2008 16:54:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.zacharyfox.com/blog/php/simple-mail-class#comment-396</guid>
		<description>@Nick

Yes, for this example. This is a new post on my blog, but it's actually a very old page on my site that was just moved into wordpress. I always meant to update it to show how using objects can help when you're performing more complex operations.

Even if it's simply a matter of changing your mail transport, it would be easier to update the class than changing multiple places in the code.

Perhaps I'll flesh this out further one day, but I'm working on some more interesting posts right now.</description>
		<content:encoded><![CDATA[<p>@Nick</p>
<p>Yes, for this example. This is a new post on my blog, but it&#8217;s actually a very old page on my site that was just moved into wordpress. I always meant to update it to show how using objects can help when you&#8217;re performing more complex operations.</p>
<p>Even if it&#8217;s simply a matter of changing your mail transport, it would be easier to update the class than changing multiple places in the code.</p>
<p>Perhaps I&#8217;ll flesh this out further one day, but I&#8217;m working on some more interesting posts right now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick T</title>
		<link>http://www.zacharyfox.com/blog/php/simple-mail-class#comment-389</link>
		<dc:creator>Nick T</dc:creator>
		<pubDate>Wed, 12 Mar 2008 23:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.zacharyfox.com/blog/php/simple-mail-class#comment-389</guid>
		<description>Frogot could post php code. Oops :S

$to      = 'me@thissite.co.uk';
$subject = 'My Subject';
$message = 'Hi, this is my mail message!';
$headers = 'From: donotreply@thissite.co.uk' . "\r\n" .
    'Reply-To: donotreply@thissite.co.uk' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);

N</description>
		<content:encoded><![CDATA[<p>Frogot could post php code. Oops :S</p>
<p>$to      = &#8216;me@thissite.co.uk&#8217;;<br />
$subject = &#8216;My Subject&#8217;;<br />
$message = &#8216;Hi, this is my mail message!&#8217;;<br />
$headers = &#8216;From: <a href="mailto:donotreply@thissite.co.uk">donotreply@thissite.co.uk</a>&#8216; . &#8220;\r\n&#8221; .<br />
    &#8216;Reply-To: <a href="mailto:donotreply@thissite.co.uk">donotreply@thissite.co.uk</a>&#8216; . &#8220;\r\n&#8221; .<br />
    &#8216;X-Mailer: PHP/&#8217; . phpversion();</p>
<p>mail($to, $subject, $message, $headers);</p>
<p>N</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick T</title>
		<link>http://www.zacharyfox.com/blog/php/simple-mail-class#comment-388</link>
		<dc:creator>Nick T</dc:creator>
		<pubDate>Wed, 12 Mar 2008 23:14:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.zacharyfox.com/blog/php/simple-mail-class#comment-388</guid>
		<description>Not to put you down or anything, but wouldnt it just be quicker to :



N</description>
		<content:encoded><![CDATA[<p>Not to put you down or anything, but wouldnt it just be quicker to :</p>
<p>N</p>
]]></content:encoded>
	</item>
</channel>
</rss>
