RE: [PHP] Re: email validation (no regex)
| From: | Murray @ PlanetThoughtful | Date: | Wed, 21 Sep 2005 19:18:49 +0000 |
| Subject: | RE: [PHP] Re: email validation (no regex) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222909@lists.php.net to get a copy of this message | ||
> because you should want/need to validate that the address is correct prior
> to determining if the email server is up running...
>
> the regex function simply allows you to quickly determine if the address
> is
> valid... doens't mean that it's going to go to an actual live user...!!
>
> btw simply checking for a single '@' with a domain doesn't do it... what
> if
> the user has 'foo@1.2.3.4' or 'r+foo@1.2.3.4'. will your regex accept/deny
> this???
>
> welcome to the world of email validation
>
> -bruce
>
> As to that, why not validate the email address by sending an automated
> message to the supplied account, requiring the person to click on a
> validation link? Easy, simple, works better than either method currently
> being discussed, purely for its simplicity, if nothing else.
I agree, so basic validation is A Good Thing. However, the most desirable
form of validation would have to be, can I send a legitimate email to that
account and receive acknowledgement that it's working by having the user
click on a validation link.
Much warmth,
Murray
---
"Lost in thought..."
http://www.planetthoughtful.org