<?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>International Open Solutions Centre &#187; return-path</title>
	<atom:link href="http://www.iosc.net/blog/tag/return-path/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iosc.net/blog</link>
	<description>Share your experience and knowledge computer hardware / software / programming / design / news</description>
	<lastBuildDate>Mon, 19 Dec 2011 07:34:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>The missing 5th parameter for PHP Mail()</title>
		<link>http://www.iosc.net/blog/2008/11/06/the-missing-5th-parameter-for-php-mail/</link>
		<comments>http://www.iosc.net/blog/2008/11/06/the-missing-5th-parameter-for-php-mail/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 13:28:34 +0000</pubDate>
		<dc:creator>boyd</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[php mail]]></category>
		<category><![CDATA[return-path]]></category>

		<guid isPermaLink="false">http://www.iosc.net/blog/?p=61</guid>
		<description><![CDATA[So happy!!! Finally I solved my php email script problem for sending emails to server with SPF record!!! There is a missing 5th parameter for PHP Mail() which I never know (eventhough on php.net mail() function did show up 5th parameter). My problems is no matter on which site I setup mail scripts, the Return-path [...]]]></description>
			<content:encoded><![CDATA[<p>So happy!!! Finally I solved my php email script problem for sending emails to server with SPF record!!!</p>
<p>There is a missing 5th parameter for PHP Mail() which I never know (eventhough on php.net mail() function did show up 5th parameter).</p>
<p>My problems is no matter on which site I setup mail scripts, the Return-path always showing the main server url which most of the time causing problem for sending email to some protected email server. No matter how I set the headers to include Reurn-path to any email address, it will never show up the correct one. At last now I have the solution,</p>
<p>mail($to, $subject, $bodymessage, $headers, &#8220;-fnoreply@domain.com&#8221;)</p>
<p>noreply@domain.com is the address I sepcified, there must be a -f in front of the address.</p>
<p>Hope this will be helpful <img src='http://www.iosc.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosc.net/blog/2008/11/06/the-missing-5th-parameter-for-php-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

