I use, and love the simplicity of, validEmailFormat()... it's a near-as-possible port of someone's Perl script which has become close to the definitive script/function for Perl developers.
http://www.killersoft.com/downloads/pafiledb.php?action=category&id=1 Cheers, Justin on 13/01/03 4:21 PM, Peter Janett ([EMAIL PROTECTED]) wrote: > I'm looking for everyone's favorite email syntax validation routine. Code > that takes an email address and does regex on it to determine if it's > formatted correctly. > > I know there are some on phpclasses.org that actually check the mx record > and server of the domain, but I'm just looking for a good, clean and fast > email address syntax check. > > So, what is your favorite bit of code to do that? > > Thanks, > > Peter Janett > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php