Re: Check for existence of mail address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

On Mon, Oct 25, 2010 at 7:38 PM,  <webdev@xxxxxxxxxxxxx> wrote:
> Hi, folks,
>
> I'm wondering how to checking existence of a given
> mail address like foo@xxxxxxx .
>
> 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
> --
> 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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux