> 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 "[EMAIL PROTECTED]" 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 "[EMAIL PROTECTED]" 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]