开发者

Validate Email in php [duplicate]

开发者 https://www.devze.com 2023-01-11 16:52 出处:网络
This question already has answers here: Closed 12 years ago. Possible Duplicates: W开发者_JAVA百科hat’s wrong with this RegEx for validating emails?
This question already has answers here: Closed 12 years ago.

Possible Duplicates:

W开发者_JAVA百科hat’s wrong with this RegEx for validating emails?

How to verify if a email address exists?

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

I was wondering if it was possible to validate an email address with php (w/library or without). When I say validate I don't mean a regex match I mean verify that the email address is actually a valid address in which emails can be sent.


That is verification rather than validation, and yes it is possible and here is a tutorial which shows how you go about it.


No, the only way you can truly validate an email is to send it an email containing a validation link.

0

精彩评论

暂无评论...
验证码 换一张
取 消