On Fri, Feb 01, 2008 at 01:14:56AM +0900, Eric H. wrote: > Anyone have a code snippet that tells whether an email address is > "valid" but not necessarily whether it is a working address because that > much I can sort out through my mail server through any bounces. > > I have a database of addresses where the person entering the data has a > bad, bad, bad, BAD habit of not validating them before entering them and > so I get things like "***DO NOT SHARE DATA***" and "lmnopaol.com" and > the like. It's not my company or else she'd be going over all the > entries by hand. See http://www.regular-expressions.info/email.html > Thanks in advance --Greg