<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>Support Forum - Topic: Sending my message from contact form not working</title>
		<link>http://www.kriesi.at/support/topic/sending-my-message-from-contact-form-not-working</link>
		<description>Support Forum - Topic: Sending my message from contact form not working</description>
		<language>en-US</language>
		<pubDate>Tue, 21 May 2013 21:34:23 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/sending-my-message-from-contact-form-not-working" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Sending my message from contact form not working"</title>
			<link>http://www.kriesi.at/support/topic/sending-my-message-from-contact-form-not-working#post-62969</link>
			<pubDate>Sat, 30 Jun 2012 06:04:28 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">62969@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey! &#60;/p&#62;
&#60;p&#62; See: &#60;a href=&#34;http://www.kriesi.at/support/topic/contact-form-not-sending-2&#34; rel=&#34;nofollow&#34;&#62;http://www.kriesi.at/support/topic/contact-form-not-sending-2&#60;/a&#62; &#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jessejames on "Sending my message from contact form not working"</title>
			<link>http://www.kriesi.at/support/topic/sending-my-message-from-contact-form-not-working#post-62541</link>
			<pubDate>Wed, 27 Jun 2012 23:22:15 +0000</pubDate>
			<dc:creator>jessejames</dc:creator>
			<guid isPermaLink="false">62541@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;This is the code in my send.php file.&#60;/p&#62;
&#60;p&#62;&#38;lt;?php &#60;/p&#62;
&#60;p&#62;if(isset($_POST['Send'])){&#60;/p&#62;
&#60;p&#62;		$error = false;&#60;/p&#62;
&#60;p&#62;		$the_name = $_POST['yourname'];&#60;br /&#62;
		$the_email = $_POST['email'];&#60;br /&#62;
		$the_website = $_POST['website'];&#60;br /&#62;
		$the_message = $_POST['message'];&#60;/p&#62;
&#60;p&#62;		if(!checkmymail($the_email))&#60;br /&#62;
		{&#60;br /&#62;
			$error = true;&#60;br /&#62;
			$the_emailclass = &#34;error&#34;;&#60;br /&#62;
		}else{&#60;br /&#62;
			$the_emailclass = &#34;valid&#34;;&#60;br /&#62;
			}&#60;/p&#62;
&#60;p&#62;		if($the_name == &#34;&#34;)&#60;br /&#62;
		{&#60;br /&#62;
			$error = true;&#60;br /&#62;
			$the_nameclass = &#34;error&#34;;&#60;br /&#62;
		}else{&#60;br /&#62;
			$the_nameclass = &#34;valid&#34;;&#60;br /&#62;
			}&#60;/p&#62;
&#60;p&#62;		if($the_message == &#34;&#34;)&#60;br /&#62;
		{&#60;br /&#62;
			$error = true;&#60;br /&#62;
			$the_messageclass = &#34;error&#34;;&#60;br /&#62;
		}else{&#60;br /&#62;
			$the_messageclass = &#34;valid&#34;;&#60;br /&#62;
			}&#60;/p&#62;
&#60;p&#62;		if($error == false)&#60;br /&#62;
		{&#60;br /&#62;
			$to      =  $_POST['myemail'];&#60;br /&#62;
			$subject = &#34;New Message from &#34; . $_POST['myblogname'];&#60;br /&#62;
			$header  = 'MIME-Version: 1.0' . &#34;\r\n&#34;;&#60;br /&#62;
			$header .= 'Content-type: text/html; charset=utf-8' . &#34;\r\n&#34;;&#60;br /&#62;
			$header .= 'From:'. $_POST['email']  . &#34; \r\n&#34;;&#60;/p&#62;
&#60;p&#62;			$the_message = nl2br($the_message);&#60;/p&#62;
&#60;p&#62;			$message = &#34;New message from  $the_name &#60;br /&#62;
			Mail: $the_email&#60;br /&#62;
			Website: $the_website &#60;/p&#62;
&#60;p&#62;			Message: $the_message &#60;br /&#62;&#34;;&#60;/p&#62;
&#60;p&#62;			mail($to,&#60;br /&#62;
			$subject,&#60;br /&#62;
			$message,&#60;br /&#62;
			$header); &#60;/p&#62;
&#60;p&#62;			if(isset($_POST['ajax'])){&#60;br /&#62;
			echo&#34;&#38;lt;h3&#38;gt;Your message has been sent!&#38;lt;/h3&#38;gt;&#38;lt;p&#38;gt; Thank you!&#38;lt;/p&#38;gt;&#34;;&#60;br /&#62;
			}&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;}&#60;/p&#62;
&#60;p&#62;function checkmymail($mailadresse){&#60;br /&#62;
	$email_flag=preg_match(&#34;!^\w[\w&#124;\.&#124;\-]+@\w[\w&#124;\.&#124;\-]+\.[a-zA-Z]{2,4}$!&#34;,$mailadresse);&#60;br /&#62;
	return $email_flag;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;?&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jessejames on "Sending my message from contact form not working"</title>
			<link>http://www.kriesi.at/support/topic/sending-my-message-from-contact-form-not-working#post-62460</link>
			<pubDate>Wed, 27 Jun 2012 14:58:50 +0000</pubDate>
			<dc:creator>jessejames</dc:creator>
			<guid isPermaLink="false">62460@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I just have HTML &#38;amp; PHP files it's not a Wordpress site. Thanks for responding Mya.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Mya on "Sending my message from contact form not working"</title>
			<link>http://www.kriesi.at/support/topic/sending-my-message-from-contact-form-not-working#post-62386</link>
			<pubDate>Wed, 27 Jun 2012 04:26:36 +0000</pubDate>
			<dc:creator>Mya</dc:creator>
			<guid isPermaLink="false">62386@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Jesse James,&#60;/p&#62;
&#60;p&#62;In your WordPress Dashboard go to Display Options &#38;gt; Contact Options and type your email address in the space provided.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Mya
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jessejames on "Sending my message from contact form not working"</title>
			<link>http://www.kriesi.at/support/topic/sending-my-message-from-contact-form-not-working#post-62366</link>
			<pubDate>Wed, 27 Jun 2012 02:16:40 +0000</pubDate>
			<dc:creator>jessejames</dc:creator>
			<guid isPermaLink="false">62366@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I've tried to see where I add my e-mail address in the send.php form and just cant figure this out so I can send the form. Please advise.&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;Jesse James&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.savethecathouse.org&#34; rel=&#34;nofollow&#34;&#62;http://www.savethecathouse.org&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
