<?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: RFC-compliant email address validator</title>
	<atom:link href="http://blog.dominicsayers.com/2009/01/28/rfc-compliant-email-address-validator/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dominicsayers.com/2009/01/28/rfc-compliant-email-address-validator/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Sep 2010 05:07:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Dominic</title>
		<link>http://blog.dominicsayers.com/2009/01/28/rfc-compliant-email-address-validator/comment-page-1/#comment-3422</link>
		<dc:creator>Dominic</dc:creator>
		<pubDate>Tue, 31 Aug 2010 08:22:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dominicsayers.com/?p=361#comment-3422</guid>
		<description>Hi Sameer,

Check the comments here: http://www.dominicsayers.com/isemail/

You&#039;ll see a couple of people have mentioned Java versions of my code. Nobody has submitted any code to me for inclusion but you could try getting in touch with the commenters.</description>
		<content:encoded><![CDATA[<p>Hi Sameer,</p>
<p>Check the comments here: <a href="http://www.dominicsayers.com/isemail/" rel="nofollow">http://www.dominicsayers.com/isemail/</a></p>
<p>You&#8217;ll see a couple of people have mentioned Java versions of my code. Nobody has submitted any code to me for inclusion but you could try getting in touch with the commenters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameer</title>
		<link>http://blog.dominicsayers.com/2009/01/28/rfc-compliant-email-address-validator/comment-page-1/#comment-3421</link>
		<dc:creator>Sameer</dc:creator>
		<pubDate>Tue, 31 Aug 2010 08:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dominicsayers.com/?p=361#comment-3421</guid>
		<description>Have anyone tried to write or convert (Somehow) Dominic&#039;s validation code into Java. I am gonna attempt to do that but wanted to know if anyone has done it, as they say &quot;A good programmer is a lazy programmer&quot; :D</description>
		<content:encoded><![CDATA[<p>Have anyone tried to write or convert (Somehow) Dominic&#8217;s validation code into Java. I am gonna attempt to do that but wanted to know if anyone has done it, as they say &#8220;A good programmer is a lazy programmer&#8221; :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seezee</title>
		<link>http://blog.dominicsayers.com/2009/01/28/rfc-compliant-email-address-validator/comment-page-1/#comment-2909</link>
		<dc:creator>seezee</dc:creator>
		<pubDate>Wed, 04 Aug 2010 19:16:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dominicsayers.com/?p=361#comment-2909</guid>
		<description>Hi, Dominic,

I just ran R17 thru a PHP syntax checker &amp; it found a couple of comments without the &#039;//&#039; delimiter, near the end of the file. That&#039;s what was tripping things up. R20 is working fine, but you may want to fix any archived copies of R17 still posted out on  Google code, or at least include a note in the documentation.</description>
		<content:encoded><![CDATA[<p>Hi, Dominic,</p>
<p>I just ran R17 thru a PHP syntax checker &amp; it found a couple of comments without the &#8216;//&#8217; delimiter, near the end of the file. That&#8217;s what was tripping things up. R20 is working fine, but you may want to fix any archived copies of R17 still posted out on  Google code, or at least include a note in the documentation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seezee</title>
		<link>http://blog.dominicsayers.com/2009/01/28/rfc-compliant-email-address-validator/comment-page-1/#comment-2229</link>
		<dc:creator>seezee</dc:creator>
		<pubDate>Wed, 23 Jun 2010 19:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dominicsayers.com/?p=361#comment-2229</guid>
		<description>Hi, Dominic,

Here&#039;s the include from my form processor:

&lt;code&gt;include(&quot;path/to/include/is_email.inc.php&quot;);&lt;/code&gt;

and the error check:

&lt;code&gt;if($EMail!=&quot;&quot;){
	if(!is_email($EMail,true))
	{
		$errors=1;
		$error.=&quot;You entered an invalid e-mail address.&quot;;
	}
}&lt;/code&gt;

Not sure what else I can tell you. I uploaded R17, renamed R15, and gave R17 the same name as the old version. When I hit the submit button, I got a blank page -- suggesting the PHP was hanging at the include. Change the names back, &amp; everything works again.

My original post was &lt;a href=&quot;http://www.dominicsayers.com/isemail/&quot; rel=&quot;nofollow&quot;&gt;here.&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Hi, Dominic,</p>
<p>Here&#8217;s the include from my form processor:</p>
<p><code>include("path/to/include/is_email.inc.php");</code></p>
<p>and the error check:</p>
<p><code>if($EMail!=""){<br />
	if(!is_email($EMail,true))<br />
	{<br />
		$errors=1;<br />
		$error.="You entered an invalid e-mail address.";<br />
	}<br />
}</code></p>
<p>Not sure what else I can tell you. I uploaded R17, renamed R15, and gave R17 the same name as the old version. When I hit the submit button, I got a blank page &#8212; suggesting the PHP was hanging at the include. Change the names back, &amp; everything works again.</p>
<p>My original post was <a href="http://www.dominicsayers.com/isemail/" rel="nofollow">here.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominic</title>
		<link>http://blog.dominicsayers.com/2009/01/28/rfc-compliant-email-address-validator/comment-page-1/#comment-2225</link>
		<dc:creator>Dominic</dc:creator>
		<pubDate>Wed, 23 Jun 2010 06:17:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dominicsayers.com/?p=361#comment-2225</guid>
		<description>Next point: where did you post your other comment? I haven&#039;t been notified about it so I need to check my monitoring.</description>
		<content:encoded><![CDATA[<p>Next point: where did you post your other comment? I haven&#8217;t been notified about it so I need to check my monitoring.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominic</title>
		<link>http://blog.dominicsayers.com/2009/01/28/rfc-compliant-email-address-validator/comment-page-1/#comment-2224</link>
		<dc:creator>Dominic</dc:creator>
		<pubDate>Wed, 23 Jun 2010 06:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dominicsayers.com/?p=361#comment-2224</guid>
		<description>Hi Chris,

Sorry that v17 isn&#039;t working for you. It was designed to be backwards compatible so that it would just replace previous versions in the way you&#039;ve done. Other people have been using v17 successfully, so I&#039;m a bit mystified. I replace v15 with v17 on this page: http://www.dominicsayers.com/isemail/results.php and it works fine.

Can you give me any more information so I can try to help you?</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>Sorry that v17 isn&#8217;t working for you. It was designed to be backwards compatible so that it would just replace previous versions in the way you&#8217;ve done. Other people have been using v17 successfully, so I&#8217;m a bit mystified. I replace v15 with v17 on this page: <a href="http://www.dominicsayers.com/isemail/results.php" rel="nofollow">http://www.dominicsayers.com/isemail/results.php</a> and it works fine.</p>
<p>Can you give me any more information so I can try to help you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seezee</title>
		<link>http://blog.dominicsayers.com/2009/01/28/rfc-compliant-email-address-validator/comment-page-1/#comment-2220</link>
		<dc:creator>seezee</dc:creator>
		<pubDate>Tue, 22 Jun 2010 21:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dominicsayers.com/?p=361#comment-2220</guid>
		<description>Hi, Dominic,

I&#039;ve been using version 15 to validate my quote form (http://messengerwebdesign.com/?page=request-quote) for some time now. Last week I tried replacing it with v17 and it stopped my form processing in its tracks. Any suggestions, or instructions for implementing? Could it have anything to do with the &#039;diagnose&#039; feature?

(Also posted on your other site, but wasn&#039;t sure if you were still monitoring comments over there -- sorry if you&#039;ve already read this).

Thanks,

--cz</description>
		<content:encoded><![CDATA[<p>Hi, Dominic,</p>
<p>I&#8217;ve been using version 15 to validate my quote form (<a href="http://messengerwebdesign.com/?page=request-quote" rel="nofollow">http://messengerwebdesign.com/?page=request-quote</a>) for some time now. Last week I tried replacing it with v17 and it stopped my form processing in its tracks. Any suggestions, or instructions for implementing? Could it have anything to do with the &#8216;diagnose&#8217; feature?</p>
<p>(Also posted on your other site, but wasn&#8217;t sure if you were still monitoring comments over there &#8212; sorry if you&#8217;ve already read this).</p>
<p>Thanks,</p>
<p>&#8211;cz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CBH</title>
		<link>http://blog.dominicsayers.com/2009/01/28/rfc-compliant-email-address-validator/comment-page-1/#comment-840</link>
		<dc:creator>CBH</dc:creator>
		<pubDate>Sun, 04 Apr 2010 11:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dominicsayers.com/?p=361#comment-840</guid>
		<description>your a good guy for releasing this, thank you</description>
		<content:encoded><![CDATA[<p>your a good guy for releasing this, thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominic</title>
		<link>http://blog.dominicsayers.com/2009/01/28/rfc-compliant-email-address-validator/comment-page-1/#comment-700</link>
		<dc:creator>Dominic</dc:creator>
		<pubDate>Wed, 24 Mar 2010 16:20:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dominicsayers.com/?p=361#comment-700</guid>
		<description>Thanks Max, I&#039;ll check this out and change the code for sure.</description>
		<content:encoded><![CDATA[<p>Thanks Max, I&#8217;ll check this out and change the code for sure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DNS Validation</title>
		<link>http://blog.dominicsayers.com/2009/01/28/rfc-compliant-email-address-validator/comment-page-1/#comment-617</link>
		<dc:creator>DNS Validation</dc:creator>
		<pubDate>Tue, 16 Mar 2010 20:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dominicsayers.com/?p=361#comment-617</guid>
		<description>Hi Dominic,

I like your photo, just a man looking happy at the world and donating code to it :-) 

I&#039;ve wrapped your code in a form email validation helper for the great &amp; open source Concrete 5 CMS. While testing it I noticed the following bug (?) running the code on my server (PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli) on Debian Lenny / Apache 2.2):

&lt;i&gt;The DNS check would ALWAYS evaluate to true.&lt;/i&gt; (A problem which Raghu Veer noticed on his setup, too).

Investigating further into the problem, I found out that actually 

&lt;b&gt;checkdnsrr(&#039;nawr2312312321312ds.de.&#039;, &#039;A&#039;);&lt;/b&gt; 

would also return true - it&#039;s not your code, it&#039;s the implementation of this function in our versions probably.

Luckily, someone in the PHP website pointed out a solution to this:
You have to add a point to the domain name, thus modifying your code like so:

// Check DNS?
if ($checkDNS &amp;&amp; function_exists(&#039;checkdnsrr&#039;)) {
	$domain = $domain . &#039;.&#039;;
	if (!(checkdnsrr($domain, &#039;A&#039;) &#124;&#124; checkdnsrr($domain, &#039;MX&#039;))) {
		return $diagnose ? ISEMAIL_DOMAINNOTFOUND	: false;	// Domain doesn&#039;t actually exist
	}
}

He claims adding the dot enforces the root - it&#039;s working now anyways :-)

Kudos to you for writing this great email validation tool, complete with DNS checking and error messages.
If you&#039;re interested in the Validation Helper, I could send you a link to it.

Cheers!!
Max</description>
		<content:encoded><![CDATA[<p>Hi Dominic,</p>
<p>I like your photo, just a man looking happy at the world and donating code to it :-) </p>
<p>I&#8217;ve wrapped your code in a form email validation helper for the great &amp; open source Concrete 5 CMS. While testing it I noticed the following bug (?) running the code on my server (PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli) on Debian Lenny / Apache 2.2):</p>
<p><i>The DNS check would ALWAYS evaluate to true.</i> (A problem which Raghu Veer noticed on his setup, too).</p>
<p>Investigating further into the problem, I found out that actually </p>
<p><b>checkdnsrr(&#8216;nawr2312312321312ds.de.&#8217;, &#8216;A&#8217;);</b> </p>
<p>would also return true &#8211; it&#8217;s not your code, it&#8217;s the implementation of this function in our versions probably.</p>
<p>Luckily, someone in the PHP website pointed out a solution to this:<br />
You have to add a point to the domain name, thus modifying your code like so:</p>
<p>// Check DNS?<br />
if ($checkDNS &amp;&amp; function_exists(&#8216;checkdnsrr&#8217;)) {<br />
	$domain = $domain . &#8216;.&#8217;;<br />
	if (!(checkdnsrr($domain, &#8216;A&#8217;) || checkdnsrr($domain, &#8216;MX&#8217;))) {<br />
		return $diagnose ? ISEMAIL_DOMAINNOTFOUND	: false;	// Domain doesn&#8217;t actually exist<br />
	}<br />
}</p>
<p>He claims adding the dot enforces the root &#8211; it&#8217;s working now anyways :-)</p>
<p>Kudos to you for writing this great email validation tool, complete with DNS checking and error messages.<br />
If you&#8217;re interested in the Validation Helper, I could send you a link to it.</p>
<p>Cheers!!<br />
Max</p>
]]></content:encoded>
	</item>
</channel>
</rss>
