<?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: Usage example &#8211; Download</title>
	<atom:link href="http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/checkemailexamplephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/checkemailexamplephp/</link>
	<description>Little words of wisdom</description>
	<lastBuildDate>Fri, 03 Feb 2012 09:46:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Soal</title>
		<link>http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/checkemailexamplephp/comment-page-1/#comment-31970</link>
		<dc:creator>Soal</dc:creator>
		<pubDate>Tue, 15 Feb 2011 11:12:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/checkemailexamplephp.txt#comment-31970</guid>
		<description>Thanks, man, very useful article!

Net/DNS.php - it&#039;s part of pear package, you can get it here: download.pear.php.net/package/Net_DNS-1.0.7.tgz or here: pear.php.net/package/Net_DNS/download (if previous link is outdated)</description>
		<content:encoded><![CDATA[<p>Thanks, man, very useful article!</p>
<p>Net/DNS.php &#8211; it&#8217;s part of pear package, you can get it here: download.pear.php.net/package/Net_DNS-1.0.7.tgz or here: pear.php.net/package/Net_DNS/download (if previous link is outdated)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/checkemailexamplephp/comment-page-1/#comment-30905</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 02 Feb 2011 21:39:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/checkemailexamplephp.txt#comment-30905</guid>
		<description>The following always returned an empty string (&#039;&#039;):

preg_match(&#039;/^([0-9]{3}) /ims&#039;, $reply, $matches);  
$code = isset($matches[1]) ? $matches[1] : &#039;&#039;;

So I changed it to something much simpler and more accurate:

$rlt = explode(&quot; &quot;,$reply);
$code = $rlt[0];

$reply is in the format of  
I exploded on the space and took the first element which is the status code.</description>
		<content:encoded><![CDATA[<p>The following always returned an empty string (&#8221;):</p>
<p>preg_match(&#8216;/^([0-9]{3}) /ims&#8217;, $reply, $matches);<br />
$code = isset($matches[1]) ? $matches[1] : &#8221;;</p>
<p>So I changed it to something much simpler and more accurate:</p>
<p>$rlt = explode(&#8221; &#8220;,$reply);<br />
$code = $rlt[0];</p>
<p>$reply is in the format of<br />
I exploded on the space and took the first element which is the status code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: purvesh</title>
		<link>http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/checkemailexamplephp/comment-page-1/#comment-28731</link>
		<dc:creator>purvesh</dc:creator>
		<pubDate>Thu, 13 Jan 2011 13:05:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/checkemailexamplephp.txt#comment-28731</guid>
		<description>please give me Net/DNS.php page download</description>
		<content:encoded><![CDATA[<p>please give me Net/DNS.php page download</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: georgefloros</title>
		<link>http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/checkemailexamplephp/comment-page-1/#comment-26364</link>
		<dc:creator>georgefloros</dc:creator>
		<pubDate>Fri, 17 Dec 2010 12:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/checkemailexamplephp.txt#comment-26364</guid>
		<description>thnks for this awesome example it helps me alot</description>
		<content:encoded><![CDATA[<p>thnks for this awesome example it helps me alot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bence</title>
		<link>http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/checkemailexamplephp/comment-page-1/#comment-25592</link>
		<dc:creator>Bence</dc:creator>
		<pubDate>Thu, 09 Dec 2010 16:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/checkemailexamplephp.txt#comment-25592</guid>
		<description>Yeah!!! :-)

2 corrections needed:

1.) as mentioned above, insert the following after line 119 in smtpvalidateclass.php:
$emails = explode(&#039;,&#039;,$emails);

2.) displaying the result must be like this:
echo $email.&#039; is &#039;.($result[$email] ? &#039;valid&#039; : &#039;invalid&#039;).&quot;&quot;;  

Now works well for me! :-)) THANKS!!</description>
		<content:encoded><![CDATA[<p>Yeah!!! <img src='http://www.webdigi.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>2 corrections needed:</p>
<p>1.) as mentioned above, insert the following after line 119 in smtpvalidateclass.php:<br />
$emails = explode(&#8216;,&#8217;,$emails);</p>
<p>2.) displaying the result must be like this:<br />
echo $email.&#8217; is &#8216;.($result[$email] ? &#8216;valid&#8217; : &#8216;invalid&#8217;).&#8221;";  </p>
<p>Now works well for me! <img src='http://www.webdigi.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ) THANKS!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iphp</title>
		<link>http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/checkemailexamplephp/comment-page-1/#comment-19219</link>
		<dc:creator>iphp</dc:creator>
		<pubDate>Fri, 13 Aug 2010 09:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/checkemailexamplephp.txt#comment-19219</guid>
		<description>@srinu.galla
It looks like your IP address is blacklisted for some reason. Please remove it from the Spamhaus blacklist and try again.</description>
		<content:encoded><![CDATA[<p>@srinu.galla<br />
It looks like your IP address is blacklisted for some reason. Please remove it from the Spamhaus blacklist and try again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srinu.galla</title>
		<link>http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/checkemailexamplephp/comment-page-1/#comment-18617</link>
		<dc:creator>srinu.galla</dc:creator>
		<pubDate>Sat, 31 Jul 2010 10:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/checkemailexamplephp.txt#comment-18617</guid>
		<description>Iam checking email Address is valid or not ..
it works on gmail,but yahoo,reddif mails not checking
i have occured error:Error: h.mx.mail.yahoo.com said: 553 Mail from 124.123.190.226 not allowed - 5.7.1 [BL21] Connections not accepted from IP addresses on Spamhaus PBL; see postmaster.yahoo.com/errors/550-bl21.html [550]
  please give reply
      thanking you</description>
		<content:encoded><![CDATA[<p>Iam checking email Address is valid or not ..<br />
it works on gmail,but yahoo,reddif mails not checking<br />
i have occured error:Error: h.mx.mail.yahoo.com said: 553 Mail from 124.123.190.226 not allowed &#8211; 5.7.1 [BL21] Connections not accepted from IP addresses on Spamhaus PBL; see postmaster.yahoo.com/errors/550-bl21.html [550]<br />
  please give reply<br />
      thanking you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/checkemailexamplephp/comment-page-1/#comment-11059</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Fri, 15 Jan 2010 19:27:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/checkemailexamplephp.txt#comment-11059</guid>
		<description>Warning: Invalid argument supplied for foreach()  on line: 90

When validating one email, like the example, not only does it fail but you get a PHP warning.
You have to explode the emails first to get this to work properly.

In the class, on line 120 put this:
$emails = explode(&#039;,&#039;,$emails);

You can edit the separator to ; or whatever you like. 

Hope this helps</description>
		<content:encoded><![CDATA[<p>Warning: Invalid argument supplied for foreach()  on line: 90</p>
<p>When validating one email, like the example, not only does it fail but you get a PHP warning.<br />
You have to explode the emails first to get this to work properly.</p>
<p>In the class, on line 120 put this:<br />
$emails = explode(&#8216;,&#8217;,$emails);</p>
<p>You can edit the separator to ; or whatever you like. </p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaiser</title>
		<link>http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/checkemailexamplephp/comment-page-1/#comment-6659</link>
		<dc:creator>Kaiser</dc:creator>
		<pubDate>Fri, 04 Sep 2009 04:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/checkemailexamplephp.txt#comment-6659</guid>
		<description>Thanks for file and the php attachment</description>
		<content:encoded><![CDATA[<p>Thanks for file and the php attachment</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nsthinh</title>
		<link>http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/checkemailexamplephp/comment-page-1/#comment-4025</link>
		<dc:creator>Nsthinh</dc:creator>
		<pubDate>Wed, 24 Jun 2009 09:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/checkemailexamplephp.txt#comment-4025</guid>
		<description>Cannot re-assign $this in C:\Program Files\xampp\php\pear\Net\DNS\RR.php</description>
		<content:encoded><![CDATA[<p>Cannot re-assign $this in C:\Program Files\xampp\php\pear\Net\DNS\RR.php</p>
]]></content:encoded>
	</item>
</channel>
</rss>

