Re: [PHP] Re: Check for existence of mail address

2010-10-26 Thread Per Jessen
Gary wrote:

> Jonathan Tapicer wrote:
>> You can use this class:
>>
http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01/smtpvalidateclassphp.txt
>>
>> It may not work for some SMTPs.
>>
>> It uses the concepts explained here:
>>
http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/
> 
> Please stop top-posting.
> 
> The above idea is sound - it will work - but uses *others'* systems to
> solve *your* problem, which is rude IMO.  

There is no other way.   The SMTP protocol provides VRFY for exactly
this purpose, but it is disabled on most servers. 
The closest approximation of "email address exists" is "MX will accept
mail for it". 



-- 
Per Jessen, Zürich (5.4°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Check for existence of mail address

2010-10-25 Thread fake...@fakessh.eu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 26.10.2010 04:24, Sharl.Jimh.Tsin a écrit :
> You can try the smtpvalidate class provided by Jonathan Tapicer,But
> maybe it is impossible in my opinion.
> 
> PS:send test mail and check the fail-report by MTA server may be a
> idea,but no good :)
> 
> Best regards,
> Sharl.Jimh.Tsin (From China)
> 
> 

it is my opinion for me . send illegal mail and i a spammeur not send a mail
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iD8DBQFMxj2UtXI/OwkhZKcRAvSiAJsEFaxFBhXYVuvqc8iHLZ8j2TWNpwCfbRqC
4lleoOIqNACn45vnh/6Tb4Q=
=KtMy
-END PGP SIGNATURE-

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Check for existence of mail address

2010-10-25 Thread Sharl.Jimh.Tsin
You can try the smtpvalidate class provided by Jonathan Tapicer,But
maybe it is impossible in my opinion.

PS:send test mail and check the fail-report by MTA server may be a
idea,but no good :)

Best regards,
Sharl.Jimh.Tsin (From China)



2010/10/26  :
> Hi Daniel, hi Jonathan, hi folks,
>
> many THX for Your quick replies!
>
> On Mon, 25 Oct 2010 18:46:02 -0400, "Daniel P. Brown"
>  wrote:
>
>> On Mon, Oct 25, 2010 at 18:38,   wrote:
>> >
>> > Is there any other function which checks whether this
>> > address really exists?
>>
>>     Of course not!  Can you imagine the implications, insecurities,
>> and privacy concerns that would be associated with that?  Some
>> mailservers will confirm or deny if a local address exists, but not
>> most --- thankfully.
>
> Yeah, You're right!  After 2 seconds of thinking I got it!
>
>
> And, on Mon, 25 Oct 2010 19:48:55 -0300, Jonathan Tapicer
>  wrote:
>
>> You can use this class:
>> http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01
>>   /smtpvalidateclassphp.txt
>>
>> It may not work for some SMTPs.
>
> Many THX !!  I'll give it a try ...
>
>> It uses the concepts explained here:
>> http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email
>>   -address-exists-without-sending-an-email/
>
> ... after reading this concept  :-)
>
> THX, bye,
> greetings to Canada and USA from (now pitch dark) Ol'Germany!
>
> Your Rolf
>
>
> APPENDIX: My original posting was:
>
> --snipsnipsnipsnipsnipsnipsnipsnipsnip--
>> Date: Tue, 26 Oct 2010 00:38:56 +0200, From: web...@blaettner.com
>>
>> Hi, folks,
>>
>> I'm wondering how to checking existence of a given
>> mail address like f...@bar.com .
>>
>> At 1st I tried:
>>
>>   if f (filter_var ($maddr, FILTER_VALIDATE_EMAIL) === false) {
>>     /* some sort of error handling code here */
>>   }
>>
>> where $maddr is the address to be checked.
>> But this checks only syntax.. :-(
>>
>> Is there any other function which checks whether this
>> address really exists?
>>
>> And, of course, I want to avoid sending a test mail just
>> for checking :-)
>>
>> Many THX in advance for suggestions, pointers...
>>
>> Rolf
> --snapsnapsnapsnapsnapsnapsnapsnapsnap--
> --
> Dipl.phys. Rudolf Otto Blättner,
> D 91074 Herzogenaurach, Germany.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Check for existence of mail address

2010-10-25 Thread webdev
Hi Daniel, hi Jonathan, hi folks,

many THX for Your quick replies!

On Mon, 25 Oct 2010 18:46:02 -0400, "Daniel P. Brown"
 wrote:

> On Mon, Oct 25, 2010 at 18:38,   wrote:
> >
> > Is there any other function which checks whether this
> > address really exists?
>
> Of course not!  Can you imagine the implications, insecurities,
> and privacy concerns that would be associated with that?  Some
> mailservers will confirm or deny if a local address exists, but not
> most --- thankfully.

Yeah, You're right!  After 2 seconds of thinking I got it!


And, on Mon, 25 Oct 2010 19:48:55 -0300, Jonathan Tapicer
 wrote:

> You can use this class:
> http://www.webdigi.co.uk/blog/wp-content/uploads/2009/01
>   /smtpvalidateclassphp.txt
>
> It may not work for some SMTPs.

Many THX !!  I'll give it a try ...

> It uses the concepts explained here:
> http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email
>   -address-exists-without-sending-an-email/

... after reading this concept  :-)

THX, bye,
greetings to Canada and USA from (now pitch dark) Ol'Germany!

Your Rolf


APPENDIX: My original posting was:

--snipsnipsnipsnipsnipsnipsnipsnipsnip--
> Date: Tue, 26 Oct 2010 00:38:56 +0200, From: web...@blaettner.com
>
> Hi, folks,
>
> I'm wondering how to checking existence of a given
> mail address like f...@bar.com .
>
> At 1st I tried:
>
>   if f (filter_var ($maddr, FILTER_VALIDATE_EMAIL) === false) {
> /* some sort of error handling code here */
>   }
>
> where $maddr is the address to be checked.
> But this checks only syntax.. :-(
>
> Is there any other function which checks whether this
> address really exists?
>
> And, of course, I want to avoid sending a test mail just
> for checking :-)
>
> Many THX in advance for suggestions, pointers...
>
> Rolf
--snapsnapsnapsnapsnapsnapsnapsnapsnap--
-- 
Dipl.phys. Rudolf Otto Blättner,
D 91074 Herzogenaurach, Germany.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php