Page 1 of 1

Checking email address existence using php

Posted: Tue Nov 23, 2010 1:56 am
by shaam
Hi,
I want to check whether an email address taken from user is actually exist or not,e.g 'shaam@abc.com' this address is correct w.r.t syntax but i want to check whether it exist or not.
i have found code from google but it does't work for yahoo email address.
Plz help me.

Thanks

Re: Checking email address existence using php

Posted: Tue Nov 23, 2010 5:39 am
by Apollo
There is no way to tell if an email address is really working for sure. At least not something that works on all (or even the majority of) email addresses.

You may connect to the appropriate SMTP server and send the usual initialisation (HELO, RCPT etc) to check if it's refused on the spot, but even if it's not it may still bounce later on, or tons of other problems.

Re: Checking email address existence using php

Posted: Tue Nov 23, 2010 6:58 am
by shaam
Thanks for your reply.
Yes you are right,im using the smtp method but it's not validating some of email addresses like yahoo due to their smtp settings,that's why im searching for some other method.
Thanks