Check if email exist php

前端 未结 4 1541
遥遥无期
遥遥无期 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条回答
  •  猫巷女王i
    2020-12-01 10:52

    The problem is gmail uses port 25 for their smtp outgoing mails, the other providers use different ports for their connection. Your response seems okay for gmail.com.

    When you connect to gmail smtp it gives you response 250 2.1.5 OK j5si2542844pbs.271 - gsmtp

    But when you connect to any other smtp who does not use port 25 it gives you null response.

提交回复
热议问题