Check if email exist php

前端 未结 4 1536
遥遥无期
遥遥无期 2020-12-01 09:58

I have a question, i have a php script to check if the email address exist.

But appear that yahoo, hotmail, aol and others providers are accepting any emails and not

4条回答
  •  情歌与酒
    2020-12-01 10:27

    You can validate "used or real" emails with Telnet and MX records more info in here, for PHP exists a great library call php-smtp-email-validation that simplify the process.

    You create a boolean function with the file example1.php and call it when you'll validate the email text. For Gmail, Hotmail, Outlook, live and MSM I don's have any problems but with Yahoo and Terra the library can't validate correctly emails

提交回复
热议问题