<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Create a Contact Page Part III</title>
	<atom:link href="http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/</link>
	<description>Blogging Guides, News, Tips, Resources</description>
	<lastBuildDate>Mon, 22 Mar 2010 13:05:26 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/#comment-257168</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Sat, 04 Oct 2008 21:42:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2750#comment-257168</guid>
		<description>Hi Rahul,

I&#039;ve taken a look at the file you&#039;re using and it looks fine to me. The only issue I can think of is that you&#039;re on a Windows server using IIS as opposed to Apache, and possibly your mail() function doesn&#039;t work. You may need to use SMTP instead.

You can check this by creating a quick PHP file and adding the following line of code

&lt;code&gt;&lt;php mail(&quot;toyou@gmail.com&quot;, &quot;Just a quick test&quot;, &quot;Just testing the mail function&quot;, &quot;From: you@rjdesignz.com&quot;); ?&gt;&lt;/code&gt;

Put that in a file and upload it, and run it. Nothing will happen in the browser but check if the email arrives (obviously change the two email addresses).

If that doesn&#039;t work then the only other possible issue is that your server requires the from address to be a registered pop account on the server, to protect from spamming. So make sure that&#039;s the case and see if that works.

If it still doesn&#039;t then you may need to contact your host and ask them if the mail() function should work. If it doesn&#039;t then I recommend trying out the CForms II WordPress plugin which will give you a lot more choice and hopefully you&#039;ll get that working on your site.</description>
		<content:encoded><![CDATA[<p>Hi Rahul,</p>
<p>I&#8217;ve taken a look at the file you&#8217;re using and it looks fine to me. The only issue I can think of is that you&#8217;re on a Windows server using IIS as opposed to Apache, and possibly your mail() function doesn&#8217;t work. You may need to use SMTP instead.</p>
<p>You can check this by creating a quick PHP file and adding the following line of code</p>
<p><code>&lt;php mail("toyou@gmail.com", "Just a quick test", "Just testing the mail function", "From: <a href="mailto:you@rjdesignz.com">you@rjdesignz.com</a>"); ?&gt;</code></p>
<p>Put that in a file and upload it, and run it. Nothing will happen in the browser but check if the email arrives (obviously change the two email addresses).</p>
<p>If that doesn&#8217;t work then the only other possible issue is that your server requires the from address to be a registered pop account on the server, to protect from spamming. So make sure that&#8217;s the case and see if that works.</p>
<p>If it still doesn&#8217;t then you may need to contact your host and ask them if the mail() function should work. If it doesn&#8217;t then I recommend trying out the CForms II WordPress plugin which will give you a lot more choice and hopefully you&#8217;ll get that working on your site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul Joshi</title>
		<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/#comment-255268</link>
		<dc:creator>Rahul Joshi</dc:creator>
		<pubDate>Thu, 02 Oct 2008 09:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2750#comment-255268</guid>
		<description>Hi,
I created a contact form following the same tutorial, but it isn&#039;t working..
You can check the link- http://www.rjdesignz.com/contact. Also even the validation is not working on the site. I have also uploaded the php template i am using on the contact page here- http://www.rjdesignz.com/contact-upload/contact.zip</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I created a contact form following the same tutorial, but it isn&#8217;t working..<br />
You can check the link- <a href="http://www.rjdesignz.com/contact" rel="nofollow">http://www.rjdesignz.com/contact</a>. Also even the validation is not working on the site. I have also uploaded the php template i am using on the contact page here- <a href="http://www.rjdesignz.com/contact-upload/contact.zip" rel="nofollow">http://www.rjdesignz.com/contact-upload/contact.zip</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/#comment-251526</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Sat, 27 Sep 2008 15:43:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2750#comment-251526</guid>
		<description>Glad you sorted it :)</description>
		<content:encoded><![CDATA[<p>Glad you sorted it <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul Joshi</title>
		<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/#comment-251521</link>
		<dc:creator>Rahul Joshi</dc:creator>
		<pubDate>Sat, 27 Sep 2008 15:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2750#comment-251521</guid>
		<description>Oops!
Sorry I figured it out.. It was a very silly mistake of unclosed quotes..</description>
		<content:encoded><![CDATA[<p>Oops!<br />
Sorry I figured it out.. It was a very silly mistake of unclosed quotes..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul Joshi</title>
		<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/#comment-251518</link>
		<dc:creator>Rahul Joshi</dc:creator>
		<pubDate>Sat, 27 Sep 2008 15:20:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2750#comment-251518</guid>
		<description>Hi,
I tried implementing the Contact Form in a wordpress theme, but i keep on getting an error of - Parse error: syntax error, unexpected T_STRING
It comes where i have defined the redirect link and if i comment it then it comes on the line where i have defined the mail subject.
Any idea what might be the reason for this error?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I tried implementing the Contact Form in a wordpress theme, but i keep on getting an error of &#8211; Parse error: syntax error, unexpected T_STRING<br />
It comes where i have defined the redirect link and if i comment it then it comes on the line where i have defined the mail subject.<br />
Any idea what might be the reason for this error?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/#comment-236875</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Mon, 08 Sep 2008 13:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2750#comment-236875</guid>
		<description>Thanks Sarah,

mail($formstuff[&#039;cfemail&#039;], $subject_2, $message_2, “From: Your Website “);

worked a treat.</description>
		<content:encoded><![CDATA[<p>Thanks Sarah,</p>
<p>mail($formstuff['cfemail'], $subject_2, $message_2, “From: Your Website “);</p>
<p>worked a treat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adidas Trainers</title>
		<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/#comment-236828</link>
		<dc:creator>Adidas Trainers</dc:creator>
		<pubDate>Mon, 08 Sep 2008 11:51:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2750#comment-236828</guid>
		<description>Wow, nice website man</description>
		<content:encoded><![CDATA[<p>Wow, nice website man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bogdan Radu</title>
		<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/#comment-236721</link>
		<dc:creator>Bogdan Radu</dc:creator>
		<pubDate>Mon, 08 Sep 2008 09:39:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2750#comment-236721</guid>
		<description>Great article thank you man!</description>
		<content:encoded><![CDATA[<p>Great article thank you man!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/#comment-236613</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Mon, 08 Sep 2008 07:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2750#comment-236613</guid>
		<description>Alex - you&#039;re welcome.

Dave, the line

&lt;code&gt;mail($formstuff[&#039;cfemail&#039;], $subject_2, $message_2, $headers);&lt;/code&gt;

Should work fine. Although because your headers also contain this email address what you may find is that your server may allow the email to come to you from that address, as your email is registered on the server, however either the server won&#039;t allow a script to send an email off the server to an unrecognised address, or it won&#039;t allow an unrecognised address to send an email to an unrecognised address.

So I would try a second address registered on the server first, see if that works. Then try for the second line to just simply be

&lt;code&gt;mail($formstuff[&#039;cfemail&#039;], $subject_2, $message_2, &quot;From: Your Website &quot;);&lt;/code&gt;

Changing the last parameter to be your site address and a from address associated with your domain. Then try that with an off server address eg. GMail address, and see how that goes.

Otherwise you may be simply restricted to not being able to have forms send emails to off server accounts - this is something you can clarify with your host.</description>
		<content:encoded><![CDATA[<p>Alex &#8211; you&#8217;re welcome.</p>
<p>Dave, the line</p>
<p><code>mail($formstuff['cfemail'], $subject_2, $message_2, $headers);</code></p>
<p>Should work fine. Although because your headers also contain this email address what you may find is that your server may allow the email to come to you from that address, as your email is registered on the server, however either the server won&#8217;t allow a script to send an email off the server to an unrecognised address, or it won&#8217;t allow an unrecognised address to send an email to an unrecognised address.</p>
<p>So I would try a second address registered on the server first, see if that works. Then try for the second line to just simply be</p>
<p><code>mail($formstuff['cfemail'], $subject_2, $message_2, "From: Your Website ");</code></p>
<p>Changing the last parameter to be your site address and a from address associated with your domain. Then try that with an off server address eg. GMail address, and see how that goes.</p>
<p>Otherwise you may be simply restricted to not being able to have forms send emails to off server accounts &#8211; this is something you can clarify with your host.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/#comment-236530</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Sun, 07 Sep 2008 23:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2750#comment-236530</guid>
		<description>Sarah,
Just a few questions if you don&#039;t mind?
To add multiple recipients for the contact form to be sent to, can I just add them to the $to_email =  (line 13)? ...just checked &amp; this works fine.

I also want to send the form submitter an email upon submission, any idea how I do this?
I have tried adding:
mail($cfemail, $subject_2, $message_2, $headers);
and
mail($formstuff[&#039;cfemail&#039;], $subject_2, $message_2, $headers);
under the original:
mail($to_email, $subject, $message, $headers);

But it doesn&#039;t seem to work, any ideas?
Thanks, again, dave.</description>
		<content:encoded><![CDATA[<p>Sarah,<br />
Just a few questions if you don&#8217;t mind?<br />
To add multiple recipients for the contact form to be sent to, can I just add them to the $to_email =  (line 13)? &#8230;just checked &amp; this works fine.</p>
<p>I also want to send the form submitter an email upon submission, any idea how I do this?<br />
I have tried adding:<br />
mail($cfemail, $subject_2, $message_2, $headers);<br />
and<br />
mail($formstuff['cfemail'], $subject_2, $message_2, $headers);<br />
under the original:<br />
mail($to_email, $subject, $message, $headers);</p>
<p>But it doesn&#8217;t seem to work, any ideas?<br />
Thanks, again, dave.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/#comment-236519</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Sun, 07 Sep 2008 23:01:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2750#comment-236519</guid>
		<description>Thank you Sarah,
Fantastic finish to the creating a contact form series, extremely helpful...</description>
		<content:encoded><![CDATA[<p>Thank you Sarah,<br />
Fantastic finish to the creating a contact form series, extremely helpful&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Cristache</title>
		<link>http://www.bloggingtips.com/2008/09/07/create-a-contact-page-part-iii/#comment-236403</link>
		<dc:creator>Alex Cristache</dc:creator>
		<pubDate>Sun, 07 Sep 2008 16:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2750#comment-236403</guid>
		<description>Thanks Sarah, this series will come in handy as I really need to better setup my &quot;Contact&quot; page.</description>
		<content:encoded><![CDATA[<p>Thanks Sarah, this series will come in handy as I really need to better setup my &#8220;Contact&#8221; page.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
