How to check if an email address exists without sending an email?

前端 未结 14 1747
半阙折子戏
半阙折子戏 2020-11-22 00:28

I have come across this PHP code to check email address using SMTP without sending an email.

Has anyone tried anything similar or does it work for you? Can you tell

14条回答
  •  鱼传尺愫
    2020-11-22 01:14

    I think you cannot, there are so many scenarios where even sending an e-mail can fail. Eg. mail server on the user side is temporarily down, mailbox exists but is full so message cannot be delivered, etc.

    That's probably why so many sites validate a registration after the user confirmed they have received the confirmation e-mail.

提交回复
热议问题