How easy is it to verify that an email address is valid in PHP?

Posted by George Edison on Stack Overflow See other posts from Stack Overflow or by George Edison
Published on 2010-05-15T03:44:01Z Indexed on 2010/05/15 3:54 UTC
Read the original article Hit count: 264

Filed under:
|
|

Given an email address, how can I verify that it is valid? (That the email's domain will accept email for that address.)

How would this look in PHP?

Note: I don't want to verfify that the email address itself is syntactically valid. I want to know whether the domain will accept email to that address.

© Stack Overflow or respective owner

Related posts about php

Related posts about email