问题
How can i make a script like verify-email.org ? I told in the school, that this is not a problem. But now, I searched the web, and found nothing?
E.g. test123@hotmail.com
- I don't want only check if the domain exist of the E-Mail address. I want check, the whole E-Mail, if it exists on Hotmail.com?
Thanks.
回答1:
You can't. You have to send an email and wait for an answer to verify that this address exists.
回答2:
The only clear way to check an email address is valid is to send it an email. If it isn't valid you will get an undelivered response.
回答3:
Like my predecessors wrote, you can only completely veryfiy by sending a mail to the address.
However, you could use DNS to check if the domain exists and a MX (Mail Exchange) record is associated with it. It's not a complete solution, but maybe a step that brings you a little further.
来源:https://stackoverflow.com/questions/6733138/verify-email-in-php-or-other-programming-language