
<?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>Sat, 04 Sep 2010 23:02:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: php-manual</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-97</link>
		<dc:creator>php-manual</dc:creator>
		<pubDate>Wed, 11 Feb 2009 12:47:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/checkemailexamplephp.txt#comment-97</guid>
		<description>Download above file or see code below 

&lt;code language=&#039;php&#039;&gt;
&lt;?php

// the email to validate  
$email = &#039;joe@gmail.com&#039;;  
// an optional sender  
$sender = &#039;user@example.com&#039;;  
// instantiate the class  
$SMTP_Valid = new SMTP_validateEmail();  
// do the validation  
$result = $SMTP_Valid-&gt;validate($email, $sender);  
// view results  
var_dump($result);  
echo $email.&#039; is &#039;.($result ? &#039;valid&#039; : &#039;invalid&#039;).&quot;\n&quot;;  
  
// send email?   
if ($result) {  
  //mail(...);  
}

?&gt;  
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Download above file or see code below </p>
<p><code language='php'><br />
< ?php</p>
<p>// the email to validate<br />
$email = 'joe@gmail.com';<br />
// an optional sender<br />
$sender = 'user@example.com';<br />
// instantiate the class<br />
$SMTP_Valid = new SMTP_validateEmail();<br />
// do the validation<br />
$result = $SMTP_Valid->validate($email, $sender);<br />
// view results<br />
var_dump($result);<br />
echo $email.' is '.($result ? 'valid' : 'invalid')."\n";  </p>
<p>// send email?<br />
if ($result) {<br />
  //mail(...);<br />
}</p>
<p>?><br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
