<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.3" -->
<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/"
	>

<channel>
	<title>PHP-Scripts Blog &#187; Mail</title>
	<link>http://www.php-scripts.com</link>
	<description>Writing about PHP scripting since 12/99. Learn something new every day.</description>
	<pubDate>Thu, 09 Oct 2008 14:17:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>
	<language>en</language>
			<item>
		<title>How to email HTML source code in one line of code</title>
		<link>http://www.php-scripts.com/20051026/53/</link>
		<comments>http://www.php-scripts.com/20051026/53/#comments</comments>
		<pubDate>Thu, 27 Oct 2005 03:18:05 +0000</pubDate>
		<dc:creator>TDavid</dc:creator>
		
		<category><![CDATA[Mail]]></category>

		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.php-scripts.com/?p=53</guid>
		<description><![CDATA[To email your HTML source code to you in one line of PHP code just use the following code:

&#60;?php
mail&#40;&#8216;youremail@isp.com&#8217;,&#8216;my source code&#8217;,file_get_contents&#40;&#8216;http://www.yourdomain.com/yourpage.html&#8217;&#41;,&#8216;From webserver@localhost\r\n&#8216;&#41;;
?&#62;

]]></description>
			<content:encoded><![CDATA[<p>To email your HTML source code to you in one line of PHP code just use the following code:</p>
<div class="codesnip-container" >
<div class="codesnip">&lt;?php<br />
<a href="http://www.php.net/mail"><span class="kw3">mail</span></a><span class="br0">&#40;</span><span class="st0">&#8216;youremail@isp.com&#8217;</span>,<span class="st0">&#8216;my source code&#8217;</span>,<a href="http://www.php.net/file_get_contents"><span class="kw3">file_get_contents</span></a><span class="br0">&#40;</span><span class="st0">&#8216;http://www.yourdomain.com/yourpage.html&#8217;</span><span class="br0">&#41;</span>,<span class="st0">&#8216;From webserver@localhost<span class="es0">\r</span><span class="es0">\n</span>&#8216;</span><span class="br0">&#41;</span>;<br />
<span class="kw2">?&gt;</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.php-scripts.com/20051026/53/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
