<?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>Sean&#039;s Blog &#187; headers</title>
	<atom:link href="http://seanbehan.com/tag/headers/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanbehan.com</link>
	<description>Web Programming, Ruby on Rails, Wordpress, PHP from Burlington, Vermont</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:44:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Using the PHP Mail Function with Additional Headers</title>
		<link>http://seanbehan.com/php/using-the-php-mail-function-with-additional-headers/</link>
		<comments>http://seanbehan.com/php/using-the-php-mail-function-with-additional-headers/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 19:12:45 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[headers]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=791</guid>
		<description><![CDATA[Pass a fourth parameter to the mail() function with the header information. &#38;lt;?php $to = &#34;jane@example.com&#34;; $subject = &#34;Hello World!&#34;; $body = &#34;This will be sent from email-addr@example.com&#34;; $headers = &#34;From: email-addr@example.com\r\nX-Mailer: php&#34;; mail($to, $subject, $body, $headers);]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fseanbehan.com%2Fphp%2Fusing-the-php-mail-function-with-additional-headers%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Using the PHP Mail Function with Additional Headers" data-url="http://seanbehan.com/php/using-the-php-mail-function-with-additional-headers/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>Pass a fourth parameter to the mail() function with the header information.</p>
<pre class="wp-code-highlight prettyprint">
&amp;lt;?php
$to = &quot;jane@example.com&quot;;
$subject = &quot;Hello World!&quot;;
$body = &quot;This will be sent from email-addr@example.com&quot;;
$headers = &quot;From: email-addr@example.com\r\nX-Mailer: php&quot;;
mail($to, $subject, $body, $headers);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/php/using-the-php-mail-function-with-additional-headers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

