开发者

Validate Email in php [duplicate]

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜