Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何制作像 verify-email.org 这样的脚本?我在学校里告诉过,这不是问题。但是现在,我在网上搜索,什么也没找到?
例如 test123@hotmail.com
谢谢。
你不能。您必须发送电子邮件并等待答复以验证此地址是否存在。
检查电子邮件地址是否有效的唯一明确方法是向其发送电子邮件。如果它无效,您将收到未送达的回复。
就像我的前辈写的那样,您只能通过向该地址发送邮件来完全验证。
但是,您可以使用 DNS 来检查域是否存在以及是否与 MX(邮件交换)记录相关联。这不是一个完整的解决方案,但也许是让您更进一步的一步。