<?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>Stuporglue.org &#187; Cpanel</title>
	<atom:link href="http://stuporglue.org/tag/cpanel/feed/" rel="self" type="application/rss+xml" />
	<link>http://stuporglue.org</link>
	<description>Programming, Rambling and More!</description>
	<lastBuildDate>Tue, 24 Jan 2012 04:18: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>Add an email address that forwards to a script</title>
		<link>http://stuporglue.org/add-an-email-address-that-forwards-to-a-script/</link>
		<comments>http://stuporglue.org/add-an-email-address-that-forwards-to-a-script/#comments</comments>
		<pubDate>Fri, 14 May 2010 14:24:01 +0000</pubDate>
		<dc:creator>stuporglue</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://stuporglue.org/?p=522</guid>
		<description><![CDATA[I previously wrote a post about receiving e-mail and saving attachments with PHP. I was so focused on having solved that part of my problem that I neglected to write about how to send e-mail to a script in the first &#8230; <a href="http://stuporglue.org/add-an-email-address-that-forwards-to-a-script/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I previously wrote a post about <a title="Recieve and save e-mail attachments with PHP" href="http://stuporglue.org/recieve-e-mail-and-save-attachments-with-a-php-script/">receiving e-mail and saving attachments with PHP</a>. I was so focused on having solved that part of my problem that I neglected to write about how to send e-mail to a script in the first place. Thanks to a helpful commenter, today I am rectifying that oversight.</p>
<h2>Using CPanel</h2>
<p>Here&#8217;s how I set up an e-mail address to be sent to a PHP script in CPanel.</p>
<p>First, go to the Forwarders section&#8230;</p>
<p><a href="http://stuporglue.org/wp-content/uploads/2010/05/forwarders.png"><img class="aligncenter size-medium wp-image-524" title="Add an E-mail forwarder" src="http://stuporglue.org/wp-content/uploads/2010/05/forwarders-570x124.png" alt="Add an E-mail forwarder" width="570" height="124" /></a></p>
<p>Click the &#8220;Add Forwarder&#8221; button&#8230;</p>
<p><a href="http://stuporglue.org/wp-content/uploads/2010/05/forwarders2.png"><img class="aligncenter size-medium wp-image-525" title="Add a new forwarder" src="http://stuporglue.org/wp-content/uploads/2010/05/forwarders2-570x480.png" alt="Add a new forwarder" width="570" height="480" /></a></p>
<p>Finally, enter your desired e-mail address and the name of the script you wish to have process your e-mails.</p>
<p><a href="http://stuporglue.org/wp-content/uploads/2010/05/forwarders2.png"></a><a href="http://stuporglue.org/wp-content/uploads/2010/05/adding_forwarder.png"><img class="aligncenter size-medium wp-image-523" title="Enter the forwarder data" src="http://stuporglue.org/wp-content/uploads/2010/05/adding_forwarder-570x406.png" alt="Enter the forwarder data" width="570" height="406" /></a></p>
<h2>Not Using CPanel</h2>
<p><a href="http://www.evolt.org/incoming_mail_and_php" target="_blank">This  article over at Evolt.org</a> looks like it has good instructions on setting up Sendmail, Qmail or Exim to forward to a PHP script. I have not tested those instructions so I don&#8217;t know that they work for sure, but the article seems well written so I would give them a try.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuporglue.org/add-an-email-address-that-forwards-to-a-script/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

