Re: E-mail valid

From: Date: Thu, 01 Feb 2001 04:40:30 +0000
Subject: Re: E-mail valid
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37597@lists.php.net to get a copy of this message
> Does anyone have a function that tells you weather a variable holds a valid > e-mail address or not? It depends on what you mean by "valid email address". For example, I can enter "foo@bar3241.com" which looks valid, but doesn't exist. You can take things a step further and lookup the domain and make sure it exists. Even then, I can enter "billg@microsoft.com" which will pass the lookup check. You can go even further and send me an email message with a "key" which I must enter in order to prove that the email address I gave is valid. Even so, it is easy to create a throw-away account at hotmail or another free email provider. Anyway, there is a class on phpclasses.upperdesign.com that does a good job of checking an address. Regards, Sean Cazzell

« previous php.general (#37597) next »